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 d56add8404e56d6d6183c29f2dac68a173d7b054..7e80cfd32d151c54975ca93c8f46982024152060 100644 |
--- a/test/unittests/compiler/js-typed-lowering-unittest.cc |
+++ b/test/unittests/compiler/js-typed-lowering-unittest.cc |
@@ -1159,7 +1159,7 @@ TEST_F(JSTypedLoweringTest, JSCreateFunctionContextViaInlinedAllocation) { |
EXPECT_THAT(r.replacement(), |
IsFinishRegion(IsAllocate(IsNumberConstant(Context::SizeFor( |
8 + Context::MIN_CONTEXT_SLOTS)), |
- IsBeginRegion(effect), control), |
+ IsBeginRegion(_), control), |
_)); |
} |
@@ -1195,16 +1195,11 @@ TEST_F(JSTypedLoweringTest, JSCreateWithContext) { |
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(IsLoadField( |
- AccessBuilder::ForContextSlot(Context::GLOBAL_OBJECT_INDEX), |
- context, effect, control)), |
- control), |
- _)); |
+ EXPECT_THAT(r.replacement(), |
+ IsFinishRegion(IsAllocate(IsNumberConstant(Context::SizeFor( |
+ Context::MIN_CONTEXT_SLOTS)), |
+ IsBeginRegion(_), control), |
+ _)); |
} |