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 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
427 DEFINE_BOOL(omit_map_checks_for_leaf_maps, true, | 427 DEFINE_BOOL(omit_map_checks_for_leaf_maps, true, |
428 "do not emit check maps for constant values that have a leaf map, " | 428 "do not emit check maps for constant values that have a leaf map, " |
429 "deoptimize the optimized code if the layout of the maps changes.") | 429 "deoptimize the optimized code if the layout of the maps changes.") |
430 | 430 |
431 // Flags for TurboFan. | 431 // Flags for TurboFan. |
432 DEFINE_BOOL(turbo, false, "enable TurboFan compiler") | 432 DEFINE_BOOL(turbo, false, "enable TurboFan compiler") |
433 DEFINE_BOOL(turbo_sp_frame_access, false, | 433 DEFINE_BOOL(turbo_sp_frame_access, false, |
434 "use stack pointer-relative access to frame wherever possible") | 434 "use stack pointer-relative access to frame wherever possible") |
435 DEFINE_BOOL(turbo_preprocess_ranges, true, | 435 DEFINE_BOOL(turbo_preprocess_ranges, true, |
436 "run pre-register allocation heuristics") | 436 "run pre-register allocation heuristics") |
437 DEFINE_BOOL(turbo_loop_stackcheck, true, "enable stack checks in loops") | |
438 DEFINE_STRING(turbo_filter, "~~", "optimization filter for TurboFan compiler") | 437 DEFINE_STRING(turbo_filter, "~~", "optimization filter for TurboFan compiler") |
439 DEFINE_BOOL(trace_turbo, false, "trace generated TurboFan IR") | 438 DEFINE_BOOL(trace_turbo, false, "trace generated TurboFan IR") |
440 DEFINE_BOOL(trace_turbo_graph, false, "trace generated TurboFan graphs") | 439 DEFINE_BOOL(trace_turbo_graph, false, "trace generated TurboFan graphs") |
441 DEFINE_IMPLICATION(trace_turbo_graph, trace_turbo) | 440 DEFINE_IMPLICATION(trace_turbo_graph, trace_turbo) |
442 DEFINE_STRING(trace_turbo_cfg_file, NULL, | 441 DEFINE_STRING(trace_turbo_cfg_file, NULL, |
443 "trace turbo cfg graph (for C1 visualizer) to a given file name") | 442 "trace turbo cfg graph (for C1 visualizer) to a given file name") |
444 DEFINE_BOOL(trace_turbo_types, true, "trace TurboFan's types") | 443 DEFINE_BOOL(trace_turbo_types, true, "trace TurboFan's types") |
445 DEFINE_BOOL(trace_turbo_scheduler, false, "trace TurboFan's scheduler") | 444 DEFINE_BOOL(trace_turbo_scheduler, false, "trace TurboFan's scheduler") |
446 DEFINE_BOOL(trace_turbo_reduction, false, "trace TurboFan's various reducers") | 445 DEFINE_BOOL(trace_turbo_reduction, false, "trace TurboFan's various reducers") |
447 DEFINE_BOOL(trace_turbo_trimming, false, "trace TurboFan's graph trimmer") | 446 DEFINE_BOOL(trace_turbo_trimming, false, "trace TurboFan's graph trimmer") |
(...skipping 838 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1286 #undef DEFINE_ALIAS_FLOAT | 1285 #undef DEFINE_ALIAS_FLOAT |
1287 #undef DEFINE_ALIAS_ARGS | 1286 #undef DEFINE_ALIAS_ARGS |
1288 | 1287 |
1289 #undef FLAG_MODE_DECLARE | 1288 #undef FLAG_MODE_DECLARE |
1290 #undef FLAG_MODE_DEFINE | 1289 #undef FLAG_MODE_DEFINE |
1291 #undef FLAG_MODE_DEFINE_DEFAULTS | 1290 #undef FLAG_MODE_DEFINE_DEFAULTS |
1292 #undef FLAG_MODE_META | 1291 #undef FLAG_MODE_META |
1293 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1292 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1294 | 1293 |
1295 #undef COMMA | 1294 #undef COMMA |
OLD | NEW |