Index: test/cctest/compiler/test-gap-resolver.cc |
diff --git a/test/cctest/compiler/test-gap-resolver.cc b/test/cctest/compiler/test-gap-resolver.cc |
index 60a476286157ce4be31d58a6be155feb2495c7cd..00c220945da891cdd4accfd4cc01f0c27d581db0 100644 |
--- a/test/cctest/compiler/test-gap-resolver.cc |
+++ b/test/cctest/compiler/test-gap-resolver.cc |
@@ -123,7 +123,8 @@ class ParallelMoveCreator : public HandleAndZoneScope { |
private: |
struct InstructionOperandComparator { |
- bool operator()(const InstructionOperand* x, const InstructionOperand* y) { |
+ bool operator()(const InstructionOperand* x, |
+ const InstructionOperand* y) const { |
return (x->kind() < y->kind()) || |
(x->kind() == y->kind() && x->index() < y->index()); |
} |