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 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
419 DEFINE_BOOL(block_concurrent_recompilation, false, | 419 DEFINE_BOOL(block_concurrent_recompilation, false, |
420 "block queued jobs until released") | 420 "block queued jobs until released") |
421 | 421 |
422 DEFINE_BOOL(omit_map_checks_for_leaf_maps, true, | 422 DEFINE_BOOL(omit_map_checks_for_leaf_maps, true, |
423 "do not emit check maps for constant values that have a leaf map, " | 423 "do not emit check maps for constant values that have a leaf map, " |
424 "deoptimize the optimized code if the layout of the maps changes.") | 424 "deoptimize the optimized code if the layout of the maps changes.") |
425 | 425 |
426 // Flags for TurboFan. | 426 // Flags for TurboFan. |
427 DEFINE_BOOL(turbo, false, "enable TurboFan compiler") | 427 DEFINE_BOOL(turbo, false, "enable TurboFan compiler") |
428 DEFINE_IMPLICATION(turbo, turbo_asm_deoptimization) | 428 DEFINE_IMPLICATION(turbo, turbo_asm_deoptimization) |
429 DEFINE_IMPLICATION(turbo, turbo_type_feedback) | |
430 DEFINE_BOOL(turbo_shipping, true, "enable TurboFan compiler on subset") | 429 DEFINE_BOOL(turbo_shipping, true, "enable TurboFan compiler on subset") |
431 DEFINE_BOOL(turbo_from_bytecode, false, "enable building graphs from bytecode") | 430 DEFINE_BOOL(turbo_from_bytecode, false, "enable building graphs from bytecode") |
432 DEFINE_BOOL(turbo_sp_frame_access, false, | 431 DEFINE_BOOL(turbo_sp_frame_access, false, |
433 "use stack pointer-relative access to frame wherever possible") | 432 "use stack pointer-relative access to frame wherever possible") |
434 DEFINE_BOOL(turbo_preprocess_ranges, true, | 433 DEFINE_BOOL(turbo_preprocess_ranges, true, |
435 "run pre-register allocation heuristics") | 434 "run pre-register allocation heuristics") |
436 DEFINE_BOOL(turbo_loop_stackcheck, true, "enable stack checks in loops") | 435 DEFINE_BOOL(turbo_loop_stackcheck, true, "enable stack checks in loops") |
437 DEFINE_STRING(turbo_filter, "~~", "optimization filter for TurboFan compiler") | 436 DEFINE_STRING(turbo_filter, "~~", "optimization filter for TurboFan compiler") |
438 DEFINE_BOOL(trace_turbo, false, "trace generated TurboFan IR") | 437 DEFINE_BOOL(trace_turbo, false, "trace generated TurboFan IR") |
439 DEFINE_BOOL(trace_turbo_graph, false, "trace generated TurboFan graphs") | 438 DEFINE_BOOL(trace_turbo_graph, false, "trace generated TurboFan graphs") |
(...skipping 750 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1190 #undef DEFINE_ALIAS_FLOAT | 1189 #undef DEFINE_ALIAS_FLOAT |
1191 #undef DEFINE_ALIAS_ARGS | 1190 #undef DEFINE_ALIAS_ARGS |
1192 | 1191 |
1193 #undef FLAG_MODE_DECLARE | 1192 #undef FLAG_MODE_DECLARE |
1194 #undef FLAG_MODE_DEFINE | 1193 #undef FLAG_MODE_DEFINE |
1195 #undef FLAG_MODE_DEFINE_DEFAULTS | 1194 #undef FLAG_MODE_DEFINE_DEFAULTS |
1196 #undef FLAG_MODE_META | 1195 #undef FLAG_MODE_META |
1197 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1196 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1198 | 1197 |
1199 #undef COMMA | 1198 #undef COMMA |
OLD | NEW |