forked from OSchip/llvm-project
parent
21cb4114fb
commit
3ebc1ca43e
|
@ -48,6 +48,9 @@ namespace llvm {
|
|||
/// isUnknown - Return true if there is no debug info for the SDNode /
|
||||
/// MachineInstr.
|
||||
bool isUnknown() const { return Idx == 0; }
|
||||
|
||||
bool operator==(const DebugLoc &DL) { return Idx == DL.Idx; }
|
||||
bool operator!=(const DebugLoc &DL) { return !(*this == DL); }
|
||||
};
|
||||
|
||||
// Partially specialize DenseMapInfo for DebugLocTyple.
|
||||
|
|
Loading…
Reference in New Issue