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 7d7e267043d8468b298bd7fa2327d473cc87b324..fc42404485cc6f7231ca7d58453c46cd28aad519 100644 |
--- a/test/unittests/compiler/js-typed-lowering-unittest.cc |
+++ b/test/unittests/compiler/js-typed-lowering-unittest.cc |
@@ -1066,10 +1066,10 @@ TEST_F(JSTypedLoweringTest, JSCreateFunctionContextViaInlinedAllocation) { |
context, effect, control)); |
ASSERT_TRUE(r.Changed()); |
EXPECT_THAT(r.replacement(), |
- IsFinish(IsAllocate(IsNumberConstant(Context::SizeFor( |
- 8 + Context::MIN_CONTEXT_SLOTS)), |
- effect, control), |
- _)); |
+ IsFinishRegion(IsAllocate(IsNumberConstant(Context::SizeFor( |
+ 8 + Context::MIN_CONTEXT_SLOTS)), |
+ IsBeginRegion(effect), control), |
+ _)); |
} |
@@ -1106,10 +1106,10 @@ TEST_F(JSTypedLoweringTest, JSCreateWithContext) { |
closure, context, frame_state, effect, control)); |
ASSERT_TRUE(r.Changed()); |
EXPECT_THAT(r.replacement(), |
- IsFinish(IsAllocate(IsNumberConstant(Context::SizeFor( |
- Context::MIN_CONTEXT_SLOTS)), |
- effect, control), |
- _)); |
+ IsFinishRegion(IsAllocate(IsNumberConstant(Context::SizeFor( |
+ Context::MIN_CONTEXT_SLOTS)), |
+ IsBeginRegion(effect), control), |
+ _)); |
} |
} // namespace compiler |