Chromium Code Reviews| 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 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 390 DEFINE_IMPLICATION(concurrent_osr, concurrent_recompilation) | 390 DEFINE_IMPLICATION(concurrent_osr, concurrent_recompilation) |
| 391 | 391 |
| 392 DEFINE_BOOL(omit_map_checks_for_leaf_maps, true, | 392 DEFINE_BOOL(omit_map_checks_for_leaf_maps, true, |
| 393 "do not emit check maps for constant values that have a leaf map, " | 393 "do not emit check maps for constant values that have a leaf map, " |
| 394 "deoptimize the optimized code if the layout of the maps changes.") | 394 "deoptimize the optimized code if the layout of the maps changes.") |
| 395 | 395 |
| 396 // Flags for TurboFan. | 396 // Flags for TurboFan. |
| 397 DEFINE_BOOL(turbo, false, "enable TurboFan compiler") | 397 DEFINE_BOOL(turbo, false, "enable TurboFan compiler") |
| 398 DEFINE_BOOL(turbo_shipping, true, "enable TurboFan compiler on subset") | 398 DEFINE_BOOL(turbo_shipping, true, "enable TurboFan compiler on subset") |
| 399 DEFINE_BOOL(turbo_greedy_regalloc, false, "use the greedy register allocator") | 399 DEFINE_BOOL(turbo_greedy_regalloc, false, "use the greedy register allocator") |
| 400 DEFINE_BOOL(turbo_preprocess_ranges, false, | |
| 401 "run pre-register allocation heuristics") | |
| 402 DEFINE_IMPLICATION(turbo_greedy_regalloc, turbo_preprocess_ranges) | |
|
Mircea Trofin
2015/08/03 00:09:36
The implication is only so we can get trybot cover
| |
| 400 DEFINE_IMPLICATION(turbo, turbo_asm_deoptimization) | 403 DEFINE_IMPLICATION(turbo, turbo_asm_deoptimization) |
| 401 DEFINE_STRING(turbo_filter, "~~", "optimization filter for TurboFan compiler") | 404 DEFINE_STRING(turbo_filter, "~~", "optimization filter for TurboFan compiler") |
| 402 DEFINE_BOOL(trace_turbo, false, "trace generated TurboFan IR") | 405 DEFINE_BOOL(trace_turbo, false, "trace generated TurboFan IR") |
| 403 DEFINE_BOOL(trace_turbo_graph, false, "trace generated TurboFan graphs") | 406 DEFINE_BOOL(trace_turbo_graph, false, "trace generated TurboFan graphs") |
| 404 DEFINE_IMPLICATION(trace_turbo_graph, trace_turbo) | 407 DEFINE_IMPLICATION(trace_turbo_graph, trace_turbo) |
| 405 DEFINE_STRING(trace_turbo_cfg_file, NULL, | 408 DEFINE_STRING(trace_turbo_cfg_file, NULL, |
| 406 "trace turbo cfg graph (for C1 visualizer) to a given file name") | 409 "trace turbo cfg graph (for C1 visualizer) to a given file name") |
| 407 DEFINE_BOOL(trace_turbo_types, true, "trace TurboFan's types") | 410 DEFINE_BOOL(trace_turbo_types, true, "trace TurboFan's types") |
| 408 DEFINE_BOOL(trace_turbo_scheduler, false, "trace TurboFan's scheduler") | 411 DEFINE_BOOL(trace_turbo_scheduler, false, "trace TurboFan's scheduler") |
| 409 DEFINE_BOOL(trace_turbo_reduction, false, "trace TurboFan's various reducers") | 412 DEFINE_BOOL(trace_turbo_reduction, false, "trace TurboFan's various reducers") |
| (...skipping 663 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1073 #undef DEFINE_ALIAS_FLOAT | 1076 #undef DEFINE_ALIAS_FLOAT |
| 1074 #undef DEFINE_ALIAS_ARGS | 1077 #undef DEFINE_ALIAS_ARGS |
| 1075 | 1078 |
| 1076 #undef FLAG_MODE_DECLARE | 1079 #undef FLAG_MODE_DECLARE |
| 1077 #undef FLAG_MODE_DEFINE | 1080 #undef FLAG_MODE_DEFINE |
| 1078 #undef FLAG_MODE_DEFINE_DEFAULTS | 1081 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1079 #undef FLAG_MODE_META | 1082 #undef FLAG_MODE_META |
| 1080 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1083 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1081 | 1084 |
| 1082 #undef COMMA | 1085 #undef COMMA |
| OLD | NEW |