Index: test/unittests/compiler/js-create-lowering-unittest.cc |
diff --git a/test/unittests/compiler/js-create-lowering-unittest.cc b/test/unittests/compiler/js-create-lowering-unittest.cc |
index f4a1192abf167bfae8f6a5c7ef497c7e54dcba31..a32920ae04e3d9de3364f2c6ddc2e6b9f889c90f 100644 |
--- a/test/unittests/compiler/js-create-lowering-unittest.cc |
+++ b/test/unittests/compiler/js-create-lowering-unittest.cc |
@@ -160,9 +160,9 @@ TEST_F(JSCreateLoweringTest, JSCreateFunctionContextViaInlinedAllocation) { |
Node* const context = Parameter(Type::Any()); |
Node* const effect = graph()->start(); |
Node* const control = graph()->start(); |
- Reduction const r = |
- Reduce(graph()->NewNode(javascript()->CreateFunctionContext(8), closure, |
- context, effect, control)); |
+ Reduction const r = Reduce( |
+ graph()->NewNode(javascript()->CreateFunctionContext(8, FUNCTION_SCOPE), |
+ closure, context, effect, control)); |
ASSERT_TRUE(r.Changed()); |
EXPECT_THAT(r.replacement(), |
IsFinishRegion(IsAllocate(IsNumberConstant(Context::SizeFor( |