Index: src/IceOperand.cpp |
diff --git a/src/IceOperand.cpp b/src/IceOperand.cpp |
index 583a6bcbbf5d0852a3336e1a3512fee5b806b358..3aaecaca514d77503a45b37d12a3e024aa802265 100644 |
--- a/src/IceOperand.cpp |
+++ b/src/IceOperand.cpp |
@@ -20,12 +20,8 @@ |
namespace Ice { |
-bool operator<(const RelocatableTuple &A, const RelocatableTuple &B) { |
- if (A.Offset != B.Offset) |
- return A.Offset < B.Offset; |
- if (A.SuppressMangling != B.SuppressMangling) |
- return A.SuppressMangling < B.SuppressMangling; |
- return A.Name < B.Name; |
+bool operator==(const RelocatableTuple &A, const RelocatableTuple &B) { |
+ return A.Offset == B.Offset && A.Name == B.Name; |
} |
bool operator<(const RegWeight &A, const RegWeight &B) { |