Index: test/cctest/compiler/codegen-tester.cc |
diff --git a/test/cctest/compiler/codegen-tester.cc b/test/cctest/compiler/codegen-tester.cc |
index b20da872eb23460abf6838af693c889614db7ff5..d05b282293ea37544ee37f58122e4303e1db4e96 100644 |
--- a/test/cctest/compiler/codegen-tester.cc |
+++ b/test/cctest/compiler/codegen-tester.cc |
@@ -373,9 +373,9 @@ void Int32BinopInputShapeTester::RunRight( |
TEST(ParametersEqual) { |
RawMachineAssemblerTester<int32_t> m(kMachInt32, kMachInt32); |
Node* p1 = m.Parameter(1); |
- CHECK_NE(NULL, p1); |
+ CHECK(p1); |
Node* p0 = m.Parameter(0); |
- CHECK_NE(NULL, p0); |
+ CHECK(p0); |
CHECK_EQ(p0, m.Parameter(0)); |
CHECK_EQ(p1, m.Parameter(1)); |
} |
@@ -561,7 +561,7 @@ TEST(RunBinopTester) { |
Float64BinopTester bt(&m); |
bt.AddReturn(bt.param0); |
- FOR_FLOAT64_INPUTS(i) { CHECK_EQ(*i, bt.call(*i, 9.0)); } |
+ FOR_FLOAT64_INPUTS(i) { CheckDoubleEq(*i, bt.call(*i, 9.0)); } |
} |
{ |
@@ -569,7 +569,7 @@ TEST(RunBinopTester) { |
Float64BinopTester bt(&m); |
bt.AddReturn(bt.param1); |
- FOR_FLOAT64_INPUTS(i) { CHECK_EQ(*i, bt.call(-11.25, *i)); } |
+ FOR_FLOAT64_INPUTS(i) { CheckDoubleEq(*i, bt.call(-11.25, *i)); } |
} |
} |