Index: test/cctest/compiler/test-instruction.cc |
diff --git a/test/cctest/compiler/test-instruction.cc b/test/cctest/compiler/test-instruction.cc |
index 5d0043896551a3881337d487ae45fd6a3420d0c3..47e661028ca1a36d2f23aa910ef442fde8a8de78 100644 |
--- a/test/cctest/compiler/test-instruction.cc |
+++ b/test/cctest/compiler/test-instruction.cc |
@@ -326,15 +326,15 @@ TEST(InstructionOperands) { |
CHECK(k == m->TempCount()); |
for (size_t z = 0; z < i; z++) { |
- CHECK_EQ(outputs[z], m->OutputAt(z)); |
+ CHECK(outputs[z]->Equals(m->OutputAt(z))); |
} |
for (size_t z = 0; z < j; z++) { |
- CHECK_EQ(inputs[z], m->InputAt(z)); |
+ CHECK(inputs[z]->Equals(m->InputAt(z))); |
} |
for (size_t z = 0; z < k; z++) { |
- CHECK_EQ(temps[z], m->TempAt(z)); |
+ CHECK(temps[z]->Equals(m->TempAt(z))); |
} |
} |
} |