Constify operators.

llvm-svn: 63979
This commit is contained in:
Bill Wendling 2009-02-06 23:17:54 +00:00
parent 84935759d5
commit e53ca3a246
1 changed files with 2 additions and 2 deletions

View File

@ -49,8 +49,8 @@ namespace llvm {
/// MachineInstr.
bool isUnknown() const { return Idx == 0; }
bool operator==(const DebugLoc &DL) { return Idx == DL.Idx; }
bool operator!=(const DebugLoc &DL) { return !(*this == DL); }
bool operator==(const DebugLoc &DL) const { return Idx == DL.Idx; }
bool operator!=(const DebugLoc &DL) const { return !(*this == DL); }
};
// Partially specialize DenseMapInfo for DebugLocTyple.