| 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 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 407 DEFINE_BOOL(concurrent_recompilation, true, | 407 DEFINE_BOOL(concurrent_recompilation, true, |
| 408 "optimizing hot functions asynchronously on a separate thread") | 408 "optimizing hot functions asynchronously on a separate thread") |
| 409 DEFINE_BOOL(trace_concurrent_recompilation, false, | 409 DEFINE_BOOL(trace_concurrent_recompilation, false, |
| 410 "track concurrent recompilation") | 410 "track concurrent recompilation") |
| 411 DEFINE_INT(concurrent_recompilation_queue_length, 8, | 411 DEFINE_INT(concurrent_recompilation_queue_length, 8, |
| 412 "the length of the concurrent compilation queue") | 412 "the length of the concurrent compilation queue") |
| 413 DEFINE_INT(concurrent_recompilation_delay, 0, | 413 DEFINE_INT(concurrent_recompilation_delay, 0, |
| 414 "artificial compilation delay in ms") | 414 "artificial compilation delay in ms") |
| 415 DEFINE_BOOL(block_concurrent_recompilation, false, | 415 DEFINE_BOOL(block_concurrent_recompilation, false, |
| 416 "block queued jobs until released") | 416 "block queued jobs until released") |
| 417 DEFINE_BOOL(concurrent_osr, false, "concurrent on-stack replacement") | |
| 418 DEFINE_IMPLICATION(concurrent_osr, concurrent_recompilation) | |
| 419 | 417 |
| 420 DEFINE_BOOL(omit_map_checks_for_leaf_maps, true, | 418 DEFINE_BOOL(omit_map_checks_for_leaf_maps, true, |
| 421 "do not emit check maps for constant values that have a leaf map, " | 419 "do not emit check maps for constant values that have a leaf map, " |
| 422 "deoptimize the optimized code if the layout of the maps changes.") | 420 "deoptimize the optimized code if the layout of the maps changes.") |
| 423 | 421 |
| 424 // Flags for TurboFan. | 422 // Flags for TurboFan. |
| 425 DEFINE_BOOL(turbo, false, "enable TurboFan compiler") | 423 DEFINE_BOOL(turbo, false, "enable TurboFan compiler") |
| 426 DEFINE_IMPLICATION(turbo, turbo_asm_deoptimization) | 424 DEFINE_IMPLICATION(turbo, turbo_asm_deoptimization) |
| 427 DEFINE_BOOL(turbo_shipping, true, "enable TurboFan compiler on subset") | 425 DEFINE_BOOL(turbo_shipping, true, "enable TurboFan compiler on subset") |
| 428 DEFINE_BOOL(turbo_greedy_regalloc, false, "use the greedy register allocator") | 426 DEFINE_BOOL(turbo_greedy_regalloc, false, "use the greedy register allocator") |
| (...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 857 "Write V8 startup as C++ src. (mksnapshot only)") | 855 "Write V8 startup as C++ src. (mksnapshot only)") |
| 858 DEFINE_STRING(startup_blob, NULL, | 856 DEFINE_STRING(startup_blob, NULL, |
| 859 "Write V8 startup blob file. (mksnapshot only)") | 857 "Write V8 startup blob file. (mksnapshot only)") |
| 860 | 858 |
| 861 // code-stubs-hydrogen.cc | 859 // code-stubs-hydrogen.cc |
| 862 DEFINE_BOOL(profile_hydrogen_code_stub_compilation, false, | 860 DEFINE_BOOL(profile_hydrogen_code_stub_compilation, false, |
| 863 "Print the time it takes to lazily compile hydrogen code stubs.") | 861 "Print the time it takes to lazily compile hydrogen code stubs.") |
| 864 | 862 |
| 865 DEFINE_BOOL(predictable, false, "enable predictable mode") | 863 DEFINE_BOOL(predictable, false, "enable predictable mode") |
| 866 DEFINE_NEG_IMPLICATION(predictable, concurrent_recompilation) | 864 DEFINE_NEG_IMPLICATION(predictable, concurrent_recompilation) |
| 867 DEFINE_NEG_IMPLICATION(predictable, concurrent_osr) | |
| 868 DEFINE_NEG_IMPLICATION(predictable, concurrent_sweeping) | 865 DEFINE_NEG_IMPLICATION(predictable, concurrent_sweeping) |
| 869 DEFINE_NEG_IMPLICATION(predictable, parallel_compaction) | 866 DEFINE_NEG_IMPLICATION(predictable, parallel_compaction) |
| 870 DEFINE_NEG_IMPLICATION(predictable, memory_reducer) | 867 DEFINE_NEG_IMPLICATION(predictable, memory_reducer) |
| 871 | 868 |
| 872 // mark-compact.cc | 869 // mark-compact.cc |
| 873 DEFINE_BOOL(force_marking_deque_overflows, false, | 870 DEFINE_BOOL(force_marking_deque_overflows, false, |
| 874 "force overflows of marking deque by reducing it's size " | 871 "force overflows of marking deque by reducing it's size " |
| 875 "to 64 words") | 872 "to 64 words") |
| 876 | 873 |
| 877 DEFINE_BOOL(stress_compaction, false, | 874 DEFINE_BOOL(stress_compaction, false, |
| (...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1168 #undef DEFINE_ALIAS_FLOAT | 1165 #undef DEFINE_ALIAS_FLOAT |
| 1169 #undef DEFINE_ALIAS_ARGS | 1166 #undef DEFINE_ALIAS_ARGS |
| 1170 | 1167 |
| 1171 #undef FLAG_MODE_DECLARE | 1168 #undef FLAG_MODE_DECLARE |
| 1172 #undef FLAG_MODE_DEFINE | 1169 #undef FLAG_MODE_DEFINE |
| 1173 #undef FLAG_MODE_DEFINE_DEFAULTS | 1170 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1174 #undef FLAG_MODE_META | 1171 #undef FLAG_MODE_META |
| 1175 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1172 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1176 | 1173 |
| 1177 #undef COMMA | 1174 #undef COMMA |
| OLD | NEW |