mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
The operator<() and operator>() were reversing their tests. Have the test the correct way.
llvm-svn: 62745
This commit is contained in:
parent
b7de7afd32
commit
ffdc0db38b
@ -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