Index: test/cctest/test-parsing.cc |
diff --git a/test/cctest/test-parsing.cc b/test/cctest/test-parsing.cc |
index 800f53c5c5843325fcd4fbca4bac28d3e7a17ed8..8fa8fb8d8e8d61166d0a6902bc30447927a23422 100644 |
--- a/test/cctest/test-parsing.cc |
+++ b/test/cctest/test-parsing.cc |
@@ -3404,7 +3404,7 @@ TEST(SerializationOfMaybeAssignmentFlag) { |
i::DeclarationScope* script_scope = |
new (&zone) i::DeclarationScope(&zone, &avf); |
i::Scope* s = i::Scope::DeserializeScopeChain( |
- isolate, &zone, context, script_scope, &avf, |
+ isolate, &zone, context->scope_info(), script_scope, &avf, |
i::Scope::DeserializationMode::kIncludingVariables); |
CHECK(s != script_scope); |
CHECK(name != NULL); |
@@ -3452,7 +3452,7 @@ TEST(IfArgumentsArrayAccessedThenParametersMaybeAssigned) { |
i::DeclarationScope* script_scope = |
new (&zone) i::DeclarationScope(&zone, &avf); |
i::Scope* s = i::Scope::DeserializeScopeChain( |
- isolate, &zone, context, script_scope, &avf, |
+ isolate, &zone, context->scope_info(), script_scope, &avf, |
i::Scope::DeserializationMode::kIncludingVariables); |
CHECK(s != script_scope); |
const i::AstRawString* name_x = avf.GetOneByteString("x"); |