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