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

Unified Diff: src/v8.cc

Issue 1094573002: [turbofan] Add single --turbo flag. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix size_t awesomeness! Created 5 years, 8 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/flag-definitions.h ('k') | test/benchmarks/testcfg.py » ('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 4c3c023af62f687f272288d495368725f52a5fbf..49a104f0aa588553268b7003ffc72fed90e9d436 100644
--- a/src/v8.cc
+++ b/src/v8.cc
@@ -77,6 +77,11 @@ void V8::InitializeOncePerProcessImpl() {
FLAG_max_semi_space_size = 1;
}
+ if (FLAG_turbo && strcmp(FLAG_turbo_filter, "~~") == 0) {
+ const char* filter_flag = "--turbo-filter=*";
+ FlagList::SetFlagsFromString(filter_flag, StrLength(filter_flag));
+ }
+
base::OS::Initialize(FLAG_random_seed, FLAG_hard_abort, FLAG_gc_fake_mmap);
Isolate::InitializeOncePerProcess();
« no previous file with comments | « src/flag-definitions.h ('k') | test/benchmarks/testcfg.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698