Index: test/cctest/test-parsing.cc |
diff --git a/test/cctest/test-parsing.cc b/test/cctest/test-parsing.cc |
index e047918ad0438135c53ea0c1f98979f36e7fe25d..ba2fa975fd7ad7728098686d2941e03fe279959f 100644 |
--- a/test/cctest/test-parsing.cc |
+++ b/test/cctest/test-parsing.cc |
@@ -3176,7 +3176,7 @@ TEST(SerializationOfMaybeAssignmentFlag) { |
i::Handle<i::String> str = name->string(); |
CHECK(str->IsInternalizedString()); |
i::Scope* script_scope = |
- new (&zone) i::Scope(isolate, &zone, NULL, i::SCRIPT_SCOPE, &avf); |
+ new (&zone) i::Scope(&zone, NULL, i::SCRIPT_SCOPE, &avf); |
script_scope->Initialize(); |
i::Scope* s = |
i::Scope::DeserializeScopeChain(isolate, &zone, context, script_scope); |
@@ -3224,7 +3224,7 @@ TEST(IfArgumentsArrayAccessedThenParametersMaybeAssigned) { |
avf.Internalize(isolate); |
i::Scope* script_scope = |
- new (&zone) i::Scope(isolate, &zone, NULL, i::SCRIPT_SCOPE, &avf); |
+ new (&zone) i::Scope(&zone, NULL, i::SCRIPT_SCOPE, &avf); |
script_scope->Initialize(); |
i::Scope* s = |
i::Scope::DeserializeScopeChain(isolate, &zone, context, script_scope); |
@@ -3272,7 +3272,7 @@ TEST(ExportsMaybeAssigned) { |
avf.Internalize(isolate); |
i::Scope* script_scope = |
- new (&zone) i::Scope(isolate, &zone, NULL, i::SCRIPT_SCOPE, &avf); |
+ new (&zone) i::Scope(&zone, NULL, i::SCRIPT_SCOPE, &avf); |
script_scope->Initialize(); |
i::Scope* s = |
i::Scope::DeserializeScopeChain(isolate, &zone, context, script_scope); |