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 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
392 DEFINE_IMPLICATION(concurrent_osr, concurrent_recompilation) | 392 DEFINE_IMPLICATION(concurrent_osr, concurrent_recompilation) |
393 | 393 |
394 DEFINE_BOOL(omit_map_checks_for_leaf_maps, true, | 394 DEFINE_BOOL(omit_map_checks_for_leaf_maps, true, |
395 "do not emit check maps for constant values that have a leaf map, " | 395 "do not emit check maps for constant values that have a leaf map, " |
396 "deoptimize the optimized code if the layout of the maps changes.") | 396 "deoptimize the optimized code if the layout of the maps changes.") |
397 | 397 |
398 // Flags for TurboFan. | 398 // Flags for TurboFan. |
399 DEFINE_BOOL(turbo, false, "enable TurboFan compiler") | 399 DEFINE_BOOL(turbo, false, "enable TurboFan compiler") |
400 DEFINE_BOOL(turbo_shipping, true, "enable TurboFan compiler on subset") | 400 DEFINE_BOOL(turbo_shipping, true, "enable TurboFan compiler on subset") |
401 DEFINE_BOOL(turbo_greedy_regalloc, false, "use the greedy register allocator") | 401 DEFINE_BOOL(turbo_greedy_regalloc, false, "use the greedy register allocator") |
402 DEFINE_BOOL(turbo_preprocess_ranges, false, | 402 DEFINE_BOOL(turbo_preprocess_ranges, true, |
403 "run pre-register allocation heuristics") | 403 "run pre-register allocation heuristics") |
| 404 DEFINE_BOOL(turbo_loop_stackcheck, true, "enable stack checks in loops") |
| 405 // TODO(mtrofin): remove these implications, as they are here just for trybot |
| 406 // purposes. |
404 DEFINE_IMPLICATION(turbo_greedy_regalloc, turbo_preprocess_ranges) | 407 DEFINE_IMPLICATION(turbo_greedy_regalloc, turbo_preprocess_ranges) |
| 408 DEFINE_IMPLICATION(turbo_greedy_regalloc, turbo_loop_stackcheck) |
| 409 |
405 DEFINE_IMPLICATION(turbo, turbo_asm_deoptimization) | 410 DEFINE_IMPLICATION(turbo, turbo_asm_deoptimization) |
406 DEFINE_STRING(turbo_filter, "~~", "optimization filter for TurboFan compiler") | 411 DEFINE_STRING(turbo_filter, "~~", "optimization filter for TurboFan compiler") |
407 DEFINE_BOOL(trace_turbo, false, "trace generated TurboFan IR") | 412 DEFINE_BOOL(trace_turbo, false, "trace generated TurboFan IR") |
408 DEFINE_BOOL(trace_turbo_graph, false, "trace generated TurboFan graphs") | 413 DEFINE_BOOL(trace_turbo_graph, false, "trace generated TurboFan graphs") |
409 DEFINE_IMPLICATION(trace_turbo_graph, trace_turbo) | 414 DEFINE_IMPLICATION(trace_turbo_graph, trace_turbo) |
410 DEFINE_STRING(trace_turbo_cfg_file, NULL, | 415 DEFINE_STRING(trace_turbo_cfg_file, NULL, |
411 "trace turbo cfg graph (for C1 visualizer) to a given file name") | 416 "trace turbo cfg graph (for C1 visualizer) to a given file name") |
412 DEFINE_BOOL(trace_turbo_types, true, "trace TurboFan's types") | 417 DEFINE_BOOL(trace_turbo_types, true, "trace TurboFan's types") |
413 DEFINE_BOOL(trace_turbo_scheduler, false, "trace TurboFan's scheduler") | 418 DEFINE_BOOL(trace_turbo_scheduler, false, "trace TurboFan's scheduler") |
414 DEFINE_BOOL(trace_turbo_reduction, false, "trace TurboFan's various reducers") | 419 DEFINE_BOOL(trace_turbo_reduction, false, "trace TurboFan's various reducers") |
(...skipping 677 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1092 #undef DEFINE_ALIAS_FLOAT | 1097 #undef DEFINE_ALIAS_FLOAT |
1093 #undef DEFINE_ALIAS_ARGS | 1098 #undef DEFINE_ALIAS_ARGS |
1094 | 1099 |
1095 #undef FLAG_MODE_DECLARE | 1100 #undef FLAG_MODE_DECLARE |
1096 #undef FLAG_MODE_DEFINE | 1101 #undef FLAG_MODE_DEFINE |
1097 #undef FLAG_MODE_DEFINE_DEFAULTS | 1102 #undef FLAG_MODE_DEFINE_DEFAULTS |
1098 #undef FLAG_MODE_META | 1103 #undef FLAG_MODE_META |
1099 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1104 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1100 | 1105 |
1101 #undef COMMA | 1106 #undef COMMA |
OLD | NEW |