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

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

Issue 867153003: new classes: special construct stub for derived classs and TDZ for `this`. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 11 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
Index: test/cctest/test-parsing.cc
diff --git a/test/cctest/test-parsing.cc b/test/cctest/test-parsing.cc
index 24da4c7a06bc06164895dda8ab62462d111e117d..9ee92a4f5714d020172a20280df6a146e2b59052 100644
--- a/test/cctest/test-parsing.cc
+++ b/test/cctest/test-parsing.cc
@@ -3108,7 +3108,7 @@ TEST(SerializationOfMaybeAssignmentFlag) {
CHECK(str->IsInternalizedString());
i::Scope* script_scope =
new (&zone) i::Scope(NULL, i::SCRIPT_SCOPE, &avf, &zone);
- script_scope->Initialize();
+ script_scope->Initialize(false);
arv (Not doing code reviews) 2015/01/23 15:40:46 maybe even use a default param here since this fal
Dmitry Lomov (no reviews) 2015/01/23 21:08:28 Done.
i::Scope* s = i::Scope::DeserializeScopeChain(context, script_scope, &zone);
DCHECK(s != script_scope);
DCHECK(name != NULL);
@@ -3155,7 +3155,7 @@ TEST(IfArgumentsArrayAccessedThenParametersMaybeAssigned) {
i::Scope* script_scope =
new (&zone) i::Scope(NULL, i::SCRIPT_SCOPE, &avf, &zone);
- script_scope->Initialize();
+ script_scope->Initialize(false);
i::Scope* s = i::Scope::DeserializeScopeChain(context, script_scope, &zone);
DCHECK(s != script_scope);
const i::AstRawString* name_x = avf.GetOneByteString("x");
@@ -3202,7 +3202,7 @@ TEST(ExportsMaybeAssigned) {
i::Scope* script_scope =
new (&zone) i::Scope(NULL, i::SCRIPT_SCOPE, &avf, &zone);
- script_scope->Initialize();
+ script_scope->Initialize(false);
i::Scope* s = i::Scope::DeserializeScopeChain(context, script_scope, &zone);
DCHECK(s != script_scope);
const i::AstRawString* name_x = avf.GetOneByteString("x");

Powered by Google App Engine
This is Rietveld 408576698