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

Unified Diff: src/v8.cc

Issue 8226017: Introduce collective --harmony flag. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 2 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/scanner.cc ('k') | src/x64/full-codegen-x64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/v8.cc
diff --git a/src/v8.cc b/src/v8.cc
index aebcc2f1d945104b5708673920737d6a80c8e621..a66fa2219900da17db8743ff5a6e306326c26372 100644
--- a/src/v8.cc
+++ b/src/v8.cc
@@ -57,6 +57,15 @@ static EntropySource entropy_source;
bool V8::Initialize(Deserializer* des) {
+ // Setting --harmony implies all other harmony flags.
+ // TODO(rossberg): Is there a better place to put this?
Steven 2011/10/12 11:54:38 This is indeed not such a cool place to put it. Yo
rossberg 2011/10/12 12:06:56 Well, I think flags.cc would be the wrong place to
+ if (FLAG_harmony) {
+ FLAG_harmony_typeof = true;
+ FLAG_harmony_scoping = true;
+ FLAG_harmony_proxies = true;
+ FLAG_harmony_weakmaps = true;
+ }
+
InitializeOncePerProcess();
// The current thread may not yet had entered an isolate to run.
« no previous file with comments | « src/scanner.cc ('k') | src/x64/full-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698