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 2015c7edf033181fedf3ef537915eeea32f06f6a..ecf47a19e2e6448b8299db5866e477cdb7c21a54 100644 |
--- a/test/unittests/compiler/js-typed-lowering-unittest.cc |
+++ b/test/unittests/compiler/js-typed-lowering-unittest.cc |
@@ -191,11 +191,10 @@ TEST_F(JSTypedLoweringTest, JSUnaryNotWithString) { |
Reduction r = Reduce(graph()->NewNode(javascript()->UnaryNot(), input, |
context, graph()->start())); |
ASSERT_TRUE(r.Changed()); |
- EXPECT_THAT( |
- r.replacement(), |
- IsNumberEqual(IsLoadField(AccessBuilder::ForStringLength(zone()), input, |
- graph()->start(), graph()->start()), |
- IsNumberConstant(0.0))); |
+ EXPECT_THAT(r.replacement(), |
+ IsNumberEqual(IsLoadField(AccessBuilder::ForStringLength(), input, |
+ graph()->start(), graph()->start()), |
+ IsNumberConstant(0.0))); |
} |
@@ -390,8 +389,8 @@ TEST_F(JSTypedLoweringTest, JSToBooleanWithString) { |
EXPECT_THAT( |
r.replacement(), |
IsNumberLessThan(IsNumberConstant(0.0), |
- IsLoadField(AccessBuilder::ForStringLength(zone()), |
- input, graph()->start(), graph()->start()))); |
+ IsLoadField(AccessBuilder::ForStringLength(), input, |
+ graph()->start(), graph()->start()))); |
} |
@@ -881,9 +880,8 @@ TEST_F(JSTypedLoweringTest, JSLoadNamedStringLength) { |
receiver, vector, context, EmptyFrameState(), |
EmptyFrameState(), effect, control)); |
ASSERT_TRUE(r.Changed()); |
- EXPECT_THAT(r.replacement(), |
- IsLoadField(AccessBuilder::ForStringLength(zone()), receiver, |
- effect, control)); |
+ EXPECT_THAT(r.replacement(), IsLoadField(AccessBuilder::ForStringLength(), |
+ receiver, effect, control)); |
} |
} |