Index: test/unittests/compiler/js-intrinsic-lowering-unittest.cc |
diff --git a/test/unittests/compiler/js-intrinsic-lowering-unittest.cc b/test/unittests/compiler/js-intrinsic-lowering-unittest.cc |
index 582d78ad3d42e307d2d16079c2117ccf01def6d7..7ef004d975038bdeebe9fa719b2de7ad52c28344 100644 |
--- a/test/unittests/compiler/js-intrinsic-lowering-unittest.cc |
+++ b/test/unittests/compiler/js-intrinsic-lowering-unittest.cc |
@@ -316,8 +316,9 @@ TEST_F(JSIntrinsicLoweringTest, InlineStringGetLength) { |
javascript()->CallRuntime(Runtime::kInlineStringGetLength, 1), input, |
context, effect, control)); |
ASSERT_TRUE(r.Changed()); |
- EXPECT_THAT(r.replacement(), IsLoadField(AccessBuilder::ForStringLength(), |
- input, effect, control)); |
+ EXPECT_THAT(r.replacement(), |
+ IsLoadField(AccessBuilder::ForStringLength(zone()), input, effect, |
+ control)); |
} |