Index: test/cctest/compiler/test-instruction.cc |
diff --git a/test/cctest/compiler/test-instruction.cc b/test/cctest/compiler/test-instruction.cc |
index 22ee613b64abf190dddcba3947a3adbe5557b6e6..d3c457758847637c30fcba3614b366f9a51d81ad 100644 |
--- a/test/cctest/compiler/test-instruction.cc |
+++ b/test/cctest/compiler/test-instruction.cc |
@@ -263,8 +263,8 @@ TEST(InstructionAddGapMove) { |
CHECK(move); |
CHECK_EQ(1u, move->size()); |
MoveOperands* cur = move->at(0); |
- CHECK(op1 == cur->source()); |
- CHECK(op2 == cur->destination()); |
+ CHECK(op1.Equals(cur->source())); |
+ CHECK(op2.Equals(cur->destination())); |
} |
} |
@@ -308,15 +308,15 @@ TEST(InstructionOperands) { |
CHECK(k == m->TempCount()); |
for (size_t z = 0; z < i; z++) { |
- CHECK(outputs[z] == *m->OutputAt(z)); |
+ CHECK(outputs[z].Equals(*m->OutputAt(z))); |
} |
for (size_t z = 0; z < j; z++) { |
- CHECK(inputs[z] == *m->InputAt(z)); |
+ CHECK(inputs[z].Equals(*m->InputAt(z))); |
} |
for (size_t z = 0; z < k; z++) { |
- CHECK(temps[z] == *m->TempAt(z)); |
+ CHECK(temps[z].Equals(*m->TempAt(z))); |
} |
} |
} |