Index: test/cctest/test-parsing.cc |
diff --git a/test/cctest/test-parsing.cc b/test/cctest/test-parsing.cc |
index 656458962a42094ecb7ca2a2985f7046369a6d7f..cdfb77d654b96fff0b38732c569a17593c5dd7e5 100644 |
--- a/test/cctest/test-parsing.cc |
+++ b/test/cctest/test-parsing.cc |
@@ -3396,8 +3396,9 @@ TEST(SerializationOfMaybeAssignmentFlag) { |
CHECK(str->IsInternalizedString()); |
i::Scope* script_scope = |
new (&zone) i::Scope(&zone, nullptr, i::SCRIPT_SCOPE); |
- i::Scope* s = i::Scope::DeserializeScopeChain(isolate, &zone, context, |
- script_scope, &avf); |
+ i::Scope* s = i::Scope::DeserializeScopeChain( |
+ isolate, &zone, context, script_scope, &avf, |
+ i::Scope::DeserializationMode::kKeepScopeInfo); |
CHECK(s != script_scope); |
CHECK(name != NULL); |
@@ -3443,8 +3444,9 @@ TEST(IfArgumentsArrayAccessedThenParametersMaybeAssigned) { |
i::Scope* script_scope = |
new (&zone) i::Scope(&zone, nullptr, i::SCRIPT_SCOPE); |
- i::Scope* s = i::Scope::DeserializeScopeChain(isolate, &zone, context, |
- script_scope, &avf); |
+ i::Scope* s = i::Scope::DeserializeScopeChain( |
+ isolate, &zone, context, script_scope, &avf, |
+ i::Scope::DeserializationMode::kKeepScopeInfo); |
CHECK(s != script_scope); |
const i::AstRawString* name_x = avf.GetOneByteString("x"); |