mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-05 18:37:17 +00:00
The operator<() and operator>() were reversing their tests. Have the test the correct way.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62745 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d10aacea5e
commit
9817b24e74
@ -104,10 +104,10 @@ namespace llvm {
|
||||
/// is depended on. Otherwise, return null.
|
||||
Instruction *getInst() const { return Value.getPointer(); }
|
||||
|
||||
bool operator==(const MemDepResult &M) const { return M.Value == Value; }
|
||||
bool operator!=(const MemDepResult &M) const { return M.Value != Value; }
|
||||
bool operator<(const MemDepResult &M) const { return M.Value < Value; }
|
||||
bool operator>(const MemDepResult &M) const { return M.Value > Value; }
|
||||
bool operator==(const MemDepResult &M) const { return Value == M.Value; }
|
||||
bool operator!=(const MemDepResult &M) const { return Value != M.Value; }
|
||||
bool operator<(const MemDepResult &M) const { return Value < M.Value; }
|
||||
bool operator>(const MemDepResult &M) const { return Value > M.Value; }
|
||||
private:
|
||||
friend class MemoryDependenceAnalysis;
|
||||
/// Dirty - Entries with this marker occur in a LocalDeps map or
|
||||
|
Loading…
Reference in New Issue
Block a user