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 69e0e8b2ce5c86947f6a502f6e7a3988cbf5f5b3..71e448d698df243a3444fd7e96e5c67935b73996 100644 |
--- a/test/unittests/compiler/js-intrinsic-lowering-unittest.cc |
+++ b/test/unittests/compiler/js-intrinsic-lowering-unittest.cc |
@@ -373,9 +373,8 @@ TEST_F(JSIntrinsicLoweringTest, InlineStringGetLength) { |
javascript()->CallRuntime(Runtime::kInlineStringGetLength, 1), input, |
context, effect, control)); |
ASSERT_TRUE(r.Changed()); |
- EXPECT_THAT(r.replacement(), |
- IsLoadField(AccessBuilder::ForStringLength(zone()), input, effect, |
- control)); |
+ EXPECT_THAT(r.replacement(), IsLoadField(AccessBuilder::ForStringLength(), |
+ input, effect, control)); |
} |