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 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
410 "block queued jobs until released") | 410 "block queued jobs until released") |
411 | 411 |
412 DEFINE_BOOL(omit_map_checks_for_leaf_maps, true, | 412 DEFINE_BOOL(omit_map_checks_for_leaf_maps, true, |
413 "do not emit check maps for constant values that have a leaf map, " | 413 "do not emit check maps for constant values that have a leaf map, " |
414 "deoptimize the optimized code if the layout of the maps changes.") | 414 "deoptimize the optimized code if the layout of the maps changes.") |
415 | 415 |
416 // Flags for TurboFan. | 416 // Flags for TurboFan. |
417 DEFINE_BOOL(turbo, false, "enable TurboFan compiler") | 417 DEFINE_BOOL(turbo, false, "enable TurboFan compiler") |
418 DEFINE_IMPLICATION(turbo, turbo_asm_deoptimization) | 418 DEFINE_IMPLICATION(turbo, turbo_asm_deoptimization) |
419 DEFINE_IMPLICATION(turbo, turbo_loop_peeling) | 419 DEFINE_IMPLICATION(turbo, turbo_loop_peeling) |
| 420 DEFINE_IMPLICATION(turbo, turbo_escape) |
420 DEFINE_BOOL(turbo_sp_frame_access, false, | 421 DEFINE_BOOL(turbo_sp_frame_access, false, |
421 "use stack pointer-relative access to frame wherever possible") | 422 "use stack pointer-relative access to frame wherever possible") |
422 DEFINE_BOOL(turbo_preprocess_ranges, true, | 423 DEFINE_BOOL(turbo_preprocess_ranges, true, |
423 "run pre-register allocation heuristics") | 424 "run pre-register allocation heuristics") |
424 DEFINE_BOOL(turbo_loop_stackcheck, true, "enable stack checks in loops") | 425 DEFINE_BOOL(turbo_loop_stackcheck, true, "enable stack checks in loops") |
425 DEFINE_STRING(turbo_filter, "~~", "optimization filter for TurboFan compiler") | 426 DEFINE_STRING(turbo_filter, "~~", "optimization filter for TurboFan compiler") |
426 DEFINE_BOOL(trace_turbo, false, "trace generated TurboFan IR") | 427 DEFINE_BOOL(trace_turbo, false, "trace generated TurboFan IR") |
427 DEFINE_BOOL(trace_turbo_graph, false, "trace generated TurboFan graphs") | 428 DEFINE_BOOL(trace_turbo_graph, false, "trace generated TurboFan graphs") |
428 DEFINE_IMPLICATION(trace_turbo_graph, trace_turbo) | 429 DEFINE_IMPLICATION(trace_turbo_graph, trace_turbo) |
429 DEFINE_STRING(trace_turbo_cfg_file, NULL, | 430 DEFINE_STRING(trace_turbo_cfg_file, NULL, |
(...skipping 790 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1220 #undef DEFINE_ALIAS_FLOAT | 1221 #undef DEFINE_ALIAS_FLOAT |
1221 #undef DEFINE_ALIAS_ARGS | 1222 #undef DEFINE_ALIAS_ARGS |
1222 | 1223 |
1223 #undef FLAG_MODE_DECLARE | 1224 #undef FLAG_MODE_DECLARE |
1224 #undef FLAG_MODE_DEFINE | 1225 #undef FLAG_MODE_DEFINE |
1225 #undef FLAG_MODE_DEFINE_DEFAULTS | 1226 #undef FLAG_MODE_DEFINE_DEFAULTS |
1226 #undef FLAG_MODE_META | 1227 #undef FLAG_MODE_META |
1227 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1228 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1228 | 1229 |
1229 #undef COMMA | 1230 #undef COMMA |
OLD | NEW |