OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // This file defines all of the flags. It is separated into different section, | 5 // This file defines all of the flags. It is separated into different section, |
6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the | 6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the |
7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'. | 7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'. |
8 // | 8 // |
9 // This include does not have a guard, because it is a template-style include, | 9 // This include does not have a guard, because it is a template-style include, |
10 // which can be included multiple times in different modes. It expects to have | 10 // which can be included multiple times in different modes. It expects to have |
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
427 DEFINE_BOOL(prepare_always_opt, false, "prepare for turning on always opt") | 427 DEFINE_BOOL(prepare_always_opt, false, "prepare for turning on always opt") |
428 DEFINE_BOOL(trace_deopt, false, "trace optimize function deoptimization") | 428 DEFINE_BOOL(trace_deopt, false, "trace optimize function deoptimization") |
429 DEFINE_BOOL(trace_stub_failures, false, | 429 DEFINE_BOOL(trace_stub_failures, false, |
430 "trace deoptimization of generated code stubs") | 430 "trace deoptimization of generated code stubs") |
431 | 431 |
432 DEFINE_BOOL(serialize_toplevel, false, "enable caching of toplevel scripts") | 432 DEFINE_BOOL(serialize_toplevel, false, "enable caching of toplevel scripts") |
433 | 433 |
434 // compiler.cc | 434 // compiler.cc |
435 DEFINE_INT(min_preparse_length, 1024, | 435 DEFINE_INT(min_preparse_length, 1024, |
436 "minimum length for automatic enable preparsing") | 436 "minimum length for automatic enable preparsing") |
437 DEFINE_BOOL(always_full_compiler, false, | |
438 "try to use the dedicated run-once backend for all code") | |
439 DEFINE_INT(max_opt_count, 10, | 437 DEFINE_INT(max_opt_count, 10, |
440 "maximum number of optimization attempts before giving up.") | 438 "maximum number of optimization attempts before giving up.") |
441 | 439 |
442 // compilation-cache.cc | 440 // compilation-cache.cc |
443 DEFINE_BOOL(compilation_cache, true, "enable compilation cache") | 441 DEFINE_BOOL(compilation_cache, true, "enable compilation cache") |
444 | 442 |
445 DEFINE_BOOL(cache_prototype_transitions, true, "cache prototype transitions") | 443 DEFINE_BOOL(cache_prototype_transitions, true, "cache prototype transitions") |
446 | 444 |
447 // cpu-profiler.cc | 445 // cpu-profiler.cc |
448 DEFINE_INT(cpu_profiler_sampling_interval, 1000, | 446 DEFINE_INT(cpu_profiler_sampling_interval, 1000, |
(...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
927 #undef DEFINE_ALIAS_FLOAT | 925 #undef DEFINE_ALIAS_FLOAT |
928 #undef DEFINE_ALIAS_ARGS | 926 #undef DEFINE_ALIAS_ARGS |
929 | 927 |
930 #undef FLAG_MODE_DECLARE | 928 #undef FLAG_MODE_DECLARE |
931 #undef FLAG_MODE_DEFINE | 929 #undef FLAG_MODE_DEFINE |
932 #undef FLAG_MODE_DEFINE_DEFAULTS | 930 #undef FLAG_MODE_DEFINE_DEFAULTS |
933 #undef FLAG_MODE_META | 931 #undef FLAG_MODE_META |
934 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 932 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
935 | 933 |
936 #undef COMMA | 934 #undef COMMA |
OLD | NEW |