Index: src/compiler/register-allocator-verifier.cc |
diff --git a/src/compiler/register-allocator-verifier.cc b/src/compiler/register-allocator-verifier.cc |
index 434e965bf3217d6b265957afa076015a06f93130..e24ab681379693869b08a9c59f43e56bacd1a6fd 100644 |
--- a/src/compiler/register-allocator-verifier.cc |
+++ b/src/compiler/register-allocator-verifier.cc |
@@ -245,8 +245,7 @@ class PhiMap : public ZoneMap<int, PhiData*>, public ZoneObject { |
struct OperandLess { |
bool operator()(const InstructionOperand* a, |
const InstructionOperand* b) const { |
- if (a->kind() == b->kind()) return a->index() < b->index(); |
- return a->kind() < b->kind(); |
+ return *a < *b; |
} |
}; |