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