Index: test/unittests/compiler/js-builtin-reducer-unittest.cc |
diff --git a/test/unittests/compiler/js-builtin-reducer-unittest.cc b/test/unittests/compiler/js-builtin-reducer-unittest.cc |
index 87d1ad53b81fdfefdefbc1b3e6789fb0d95ed868..9c572820e7131e475370c3e31110aa28ad502938 100644 |
--- a/test/unittests/compiler/js-builtin-reducer-unittest.cc |
+++ b/test/unittests/compiler/js-builtin-reducer-unittest.cc |
@@ -10,6 +10,7 @@ |
#include "test/unittests/compiler/node-test-utils.h" |
#include "testing/gmock-support.h" |
+using testing::BitEq; |
using testing::Capture; |
namespace v8 { |
@@ -83,9 +84,11 @@ TEST_F(JSBuiltinReducerTest, MathAbs) { |
} else { |
Capture<Node*> branch; |
ASSERT_TRUE(r.Changed()); |
- EXPECT_THAT(r.replacement(), |
- IsSelect(kMachNone, IsNumberLessThan(IsNumberConstant(0), p0), |
- p0, IsNumberSubtract(IsNumberConstant(0), p0))); |
+ EXPECT_THAT( |
+ r.replacement(), |
+ IsSelect(kMachNone, |
+ IsNumberLessThan(IsNumberConstant(BitEq(0.0)), p0), p0, |
+ IsNumberSubtract(IsNumberConstant(BitEq(0.0)), p0))); |
} |
} |
} |