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

Unified Diff: src/preparser.h

Issue 919643008: Remove --experimental-classes flag and related dead code. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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/ppc/full-codegen-ppc.cc ('k') | src/runtime/runtime.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/preparser.h
diff --git a/src/preparser.h b/src/preparser.h
index 75b73829e3270c491a00de5d69732643ddb73d99..a60b218a37ba1dab589294890e288f8ff1ed6e86 100644
--- a/src/preparser.h
+++ b/src/preparser.h
@@ -319,8 +319,7 @@ class ParserBase : public Traits {
kind == kNormalFunction);
Scope* result =
new (zone()) Scope(zone(), parent, scope_type, ast_value_factory());
- bool uninitialized_this =
- FLAG_experimental_classes && IsSubclassConstructor(kind);
+ bool uninitialized_this = IsSubclassConstructor(kind);
result->Initialize(uninitialized_this);
return result;
}
« no previous file with comments | « src/ppc/full-codegen-ppc.cc ('k') | src/runtime/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698