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 f56952344d538f695daf9442f78a411ee1d90829..93bf9cd0089ae14ab1f2801acd9ea5987929295a 100644 |
--- a/test/unittests/compiler/js-typed-lowering-unittest.cc |
+++ b/test/unittests/compiler/js-typed-lowering-unittest.cc |
@@ -321,8 +321,7 @@ TEST_F(JSTypedLoweringTest, JSToNumberWithPlainPrimitive) { |
Reduce(graph()->NewNode(javascript()->ToNumber(), input, context, |
EmptyFrameState(), 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)); |
} |