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 d347c4139b35cfa9f6f07d94530fee164ab9580d..8bb5798bd2fe6bbc591f81746ed9e4ca4e981512 100644 |
--- a/test/unittests/compiler/js-typed-lowering-unittest.cc |
+++ b/test/unittests/compiler/js-typed-lowering-unittest.cc |
@@ -190,10 +190,11 @@ TEST_F(JSTypedLoweringTest, JSUnaryNotWithString) { |
Reduction r = |
Reduce(graph()->NewNode(javascript()->UnaryNot(), input, context)); |
ASSERT_TRUE(r.Changed()); |
- EXPECT_THAT(r.replacement(), |
- IsNumberEqual(IsLoadField(AccessBuilder::ForStringLength(), input, |
- graph()->start(), graph()->start()), |
- IsNumberConstant(0.0))); |
+ EXPECT_THAT( |
+ r.replacement(), |
+ IsNumberEqual(IsLoadField(AccessBuilder::ForStringLength(zone()), input, |
+ graph()->start(), graph()->start()), |
+ IsNumberConstant(0.0))); |
} |
@@ -392,8 +393,8 @@ TEST_F(JSTypedLoweringTest, JSToBooleanWithString) { |
EXPECT_THAT( |
r.replacement(), |
IsNumberLessThan(IsNumberConstant(0.0), |
- IsLoadField(AccessBuilder::ForStringLength(), input, |
- graph()->start(), graph()->start()))); |
+ IsLoadField(AccessBuilder::ForStringLength(zone()), |
+ input, graph()->start(), graph()->start()))); |
} |