LiveIntervals: Add missing operator!= for segments

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@372449 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Matt Arsenault 2019-09-21 02:37:28 +00:00
parent e426d5eb56
commit 2c4dec4a0d

View File

@ -189,6 +189,10 @@ namespace llvm {
return start == Other.start && end == Other.end; return start == Other.start && end == Other.end;
} }
bool operator!=(const Segment &Other) const {
return !(*this == Other);
}
void dump() const; void dump() const;
}; };