Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(222)

Unified Diff: test/cctest/test-parsing.cc

Issue 2165923002: Inline Scope::Initialize into the only constructor that's always called right before (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/parsing/parser-base.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-parsing.cc
diff --git a/test/cctest/test-parsing.cc b/test/cctest/test-parsing.cc
index ef9c684964cad0aa64b749a50130aac74fca9173..873252f9aef8c151fab68150906bb82d224712a3 100644
--- a/test/cctest/test-parsing.cc
+++ b/test/cctest/test-parsing.cc
@@ -3362,7 +3362,6 @@ TEST(SerializationOfMaybeAssignmentFlag) {
CHECK(str->IsInternalizedString());
i::Scope* script_scope =
new (&zone) i::Scope(&zone, nullptr, i::SCRIPT_SCOPE);
- script_scope->Initialize();
i::Scope* s = i::Scope::DeserializeScopeChain(isolate, &zone, context,
script_scope, &avf);
CHECK(s != script_scope);
@@ -3410,7 +3409,6 @@ TEST(IfArgumentsArrayAccessedThenParametersMaybeAssigned) {
i::Scope* script_scope =
new (&zone) i::Scope(&zone, nullptr, i::SCRIPT_SCOPE);
- script_scope->Initialize();
i::Scope* s = i::Scope::DeserializeScopeChain(isolate, &zone, context,
script_scope, &avf);
CHECK(s != script_scope);
« no previous file with comments | « src/parsing/parser-base.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698