Index: test/unittests/compiler/js-typed-lowering-unittest.cc |
diff --git a/test/unittests/compiler/js-typed-lowering-unittest.cc b/test/unittests/compiler/js-typed-lowering-unittest.cc |
index 97ff106329770269274b74bfeef435ed7e63e0a3..53f41ea395ff9bfba212d89249c618cfde6c1417 100644 |
--- a/test/unittests/compiler/js-typed-lowering-unittest.cc |
+++ b/test/unittests/compiler/js-typed-lowering-unittest.cc |
@@ -372,8 +372,7 @@ TEST_F(JSTypedLoweringTest, JSToNumberWithPlainPrimitive) { |
Reduction r = Reduce(graph()->NewNode(javascript()->ToNumber(), input, |
context, effect, control)); |
ASSERT_TRUE(r.Changed()); |
- EXPECT_THAT(r.replacement(), IsToNumber(input, IsNumberConstant(BitEq(0.0)), |
- graph()->start(), control)); |
+ EXPECT_THAT(r.replacement(), IsPlainPrimitiveToNumber(input)); |
} |