| 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 f44648e651594577d67067f885ad3024ac2d85b4..55f054a74bc1ef1e04934f10c7abf8a437061f08 100644
|
| --- a/test/cctest/compiler/test-representation-change.cc
|
| +++ b/test/cctest/compiler/test-representation-change.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include "src/v8.h"
|
| #include "test/cctest/cctest.h"
|
| +#include "test/cctest/compiler/codegen-tester.h"
|
| #include "test/cctest/compiler/graph-builder-tester.h"
|
| #include "test/cctest/compiler/value-helper.h"
|
|
|
| @@ -58,7 +59,7 @@ class RepresentationChangerTester : public HandleAndZoneScope,
|
| void CheckFloat64Constant(Node* n, double expected) {
|
| Float64Matcher m(n);
|
| CHECK(m.HasValue());
|
| - CHECK_EQ(expected, m.Value());
|
| + CheckDoubleEq(expected, m.Value());
|
| }
|
|
|
| void CheckFloat32Constant(Node* n, float expected) {
|
| @@ -77,7 +78,7 @@ class RepresentationChangerTester : public HandleAndZoneScope,
|
| NumberMatcher m(n);
|
| CHECK_EQ(IrOpcode::kNumberConstant, n->opcode());
|
| CHECK(m.HasValue());
|
| - CHECK_EQ(expected, m.Value());
|
| + CheckDoubleEq(expected, m.Value());
|
| }
|
|
|
| Node* Parameter(int index = 0) {
|
|
|