| 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 7e80cfd32d151c54975ca93c8f46982024152060..d56add8404e56d6d6183c29f2dac68a173d7b054 100644
|
| --- a/test/unittests/compiler/js-typed-lowering-unittest.cc
|
| +++ b/test/unittests/compiler/js-typed-lowering-unittest.cc
|
| @@ -1159,7 +1159,7 @@
|
| EXPECT_THAT(r.replacement(),
|
| IsFinishRegion(IsAllocate(IsNumberConstant(Context::SizeFor(
|
| 8 + Context::MIN_CONTEXT_SLOTS)),
|
| - IsBeginRegion(_), control),
|
| + IsBeginRegion(effect), control),
|
| _));
|
| }
|
|
|
| @@ -1195,11 +1195,16 @@
|
| Reduce(graph()->NewNode(javascript()->CreateWithContext(), object,
|
| closure, context, frame_state, effect, control));
|
| ASSERT_TRUE(r.Changed());
|
| - EXPECT_THAT(r.replacement(),
|
| - IsFinishRegion(IsAllocate(IsNumberConstant(Context::SizeFor(
|
| - Context::MIN_CONTEXT_SLOTS)),
|
| - IsBeginRegion(_), control),
|
| - _));
|
| + EXPECT_THAT(
|
| + r.replacement(),
|
| + IsFinishRegion(
|
| + IsAllocate(
|
| + IsNumberConstant(Context::SizeFor(Context::MIN_CONTEXT_SLOTS)),
|
| + IsBeginRegion(IsLoadField(
|
| + AccessBuilder::ForContextSlot(Context::GLOBAL_OBJECT_INDEX),
|
| + context, effect, control)),
|
| + control),
|
| + _));
|
| }
|
|
|
|
|
|
|