| Index: test/cctest/test-parsing.cc
|
| diff --git a/test/cctest/test-parsing.cc b/test/cctest/test-parsing.cc
|
| index 11c894093bbe77b30d059a680af11a7d6699d4e2..ef9c684964cad0aa64b749a50130aac74fca9173 100644
|
| --- a/test/cctest/test-parsing.cc
|
| +++ b/test/cctest/test-parsing.cc
|
| @@ -3361,10 +3361,10 @@ TEST(SerializationOfMaybeAssignmentFlag) {
|
| i::Handle<i::String> str = name->string();
|
| CHECK(str->IsInternalizedString());
|
| i::Scope* script_scope =
|
| - new (&zone) i::Scope(&zone, NULL, i::SCRIPT_SCOPE, &avf);
|
| + new (&zone) i::Scope(&zone, nullptr, i::SCRIPT_SCOPE);
|
| script_scope->Initialize();
|
| - i::Scope* s =
|
| - i::Scope::DeserializeScopeChain(isolate, &zone, context, script_scope);
|
| + i::Scope* s = i::Scope::DeserializeScopeChain(isolate, &zone, context,
|
| + script_scope, &avf);
|
| CHECK(s != script_scope);
|
| CHECK(name != NULL);
|
|
|
| @@ -3409,10 +3409,10 @@ TEST(IfArgumentsArrayAccessedThenParametersMaybeAssigned) {
|
| avf.Internalize(isolate);
|
|
|
| i::Scope* script_scope =
|
| - new (&zone) i::Scope(&zone, NULL, i::SCRIPT_SCOPE, &avf);
|
| + new (&zone) i::Scope(&zone, nullptr, i::SCRIPT_SCOPE);
|
| script_scope->Initialize();
|
| - i::Scope* s =
|
| - i::Scope::DeserializeScopeChain(isolate, &zone, context, script_scope);
|
| + i::Scope* s = i::Scope::DeserializeScopeChain(isolate, &zone, context,
|
| + script_scope, &avf);
|
| CHECK(s != script_scope);
|
| const i::AstRawString* name_x = avf.GetOneByteString("x");
|
|
|
|
|