Index: test/cctest/compiler/test-representation-change.cc |
diff --git a/test/cctest/compiler/test-representation-change.cc b/test/cctest/compiler/test-representation-change.cc |
index fc319df79b510a26946a66230362efbf0242fb86..7755c13f3dadb8e19dbb292871188d04514706c6 100644 |
--- a/test/cctest/compiler/test-representation-change.cc |
+++ b/test/cctest/compiler/test-representation-change.cc |
@@ -61,7 +61,7 @@ class RepresentationChangerTester : public HandleAndZoneScope, |
void CheckFloat32Constant(Node* n, float expected) { |
CHECK_EQ(IrOpcode::kFloat32Constant, n->opcode()); |
float fval = OpParameter<float>(n->op()); |
- CHECK_EQ(expected, fval); |
+ CheckDoubleEq(expected, fval); |
} |
void CheckHeapConstant(Node* n, HeapObject* expected) { |