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 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
406 DEFINE_BOOL(omit_map_checks_for_leaf_maps, true, | 406 DEFINE_BOOL(omit_map_checks_for_leaf_maps, true, |
407 "do not emit check maps for constant values that have a leaf map, " | 407 "do not emit check maps for constant values that have a leaf map, " |
408 "deoptimize the optimized code if the layout of the maps changes.") | 408 "deoptimize the optimized code if the layout of the maps changes.") |
409 | 409 |
410 // Flags for TurboFan. | 410 // Flags for TurboFan. |
411 DEFINE_BOOL(turbo, false, "enable TurboFan compiler") | 411 DEFINE_BOOL(turbo, false, "enable TurboFan compiler") |
412 DEFINE_IMPLICATION(turbo, turbo_asm_deoptimization) | 412 DEFINE_IMPLICATION(turbo, turbo_asm_deoptimization) |
413 DEFINE_IMPLICATION(turbo, turbo_inlining) | 413 DEFINE_IMPLICATION(turbo, turbo_inlining) |
414 DEFINE_BOOL(turbo_shipping, true, "enable TurboFan compiler on subset") | 414 DEFINE_BOOL(turbo_shipping, true, "enable TurboFan compiler on subset") |
415 DEFINE_BOOL(turbo_greedy_regalloc, false, "use the greedy register allocator") | 415 DEFINE_BOOL(turbo_greedy_regalloc, false, "use the greedy register allocator") |
| 416 DEFINE_BOOL(turbo_sp_frame_access, false, |
| 417 "use stack pointer-relative access to frame wherever possible") |
416 DEFINE_BOOL(turbo_preprocess_ranges, true, | 418 DEFINE_BOOL(turbo_preprocess_ranges, true, |
417 "run pre-register allocation heuristics") | 419 "run pre-register allocation heuristics") |
418 DEFINE_BOOL(turbo_loop_stackcheck, true, "enable stack checks in loops") | 420 DEFINE_BOOL(turbo_loop_stackcheck, true, "enable stack checks in loops") |
419 DEFINE_STRING(turbo_filter, "~~", "optimization filter for TurboFan compiler") | 421 DEFINE_STRING(turbo_filter, "~~", "optimization filter for TurboFan compiler") |
420 DEFINE_BOOL(trace_turbo, false, "trace generated TurboFan IR") | 422 DEFINE_BOOL(trace_turbo, false, "trace generated TurboFan IR") |
421 DEFINE_BOOL(trace_turbo_graph, false, "trace generated TurboFan graphs") | 423 DEFINE_BOOL(trace_turbo_graph, false, "trace generated TurboFan graphs") |
422 DEFINE_IMPLICATION(trace_turbo_graph, trace_turbo) | 424 DEFINE_IMPLICATION(trace_turbo_graph, trace_turbo) |
423 DEFINE_STRING(trace_turbo_cfg_file, NULL, | 425 DEFINE_STRING(trace_turbo_cfg_file, NULL, |
424 "trace turbo cfg graph (for C1 visualizer) to a given file name") | 426 "trace turbo cfg graph (for C1 visualizer) to a given file name") |
425 DEFINE_BOOL(trace_turbo_types, true, "trace TurboFan's types") | 427 DEFINE_BOOL(trace_turbo_types, true, "trace TurboFan's types") |
(...skipping 693 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1119 #undef DEFINE_ALIAS_FLOAT | 1121 #undef DEFINE_ALIAS_FLOAT |
1120 #undef DEFINE_ALIAS_ARGS | 1122 #undef DEFINE_ALIAS_ARGS |
1121 | 1123 |
1122 #undef FLAG_MODE_DECLARE | 1124 #undef FLAG_MODE_DECLARE |
1123 #undef FLAG_MODE_DEFINE | 1125 #undef FLAG_MODE_DEFINE |
1124 #undef FLAG_MODE_DEFINE_DEFAULTS | 1126 #undef FLAG_MODE_DEFINE_DEFAULTS |
1125 #undef FLAG_MODE_META | 1127 #undef FLAG_MODE_META |
1126 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1128 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1127 | 1129 |
1128 #undef COMMA | 1130 #undef COMMA |
OLD | NEW |