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 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
434 DEFINE_BOOL(turbo_loop_stackcheck, true, "enable stack checks in loops") | 434 DEFINE_BOOL(turbo_loop_stackcheck, true, "enable stack checks in loops") |
435 DEFINE_STRING(turbo_filter, "~~", "optimization filter for TurboFan compiler") | 435 DEFINE_STRING(turbo_filter, "~~", "optimization filter for TurboFan compiler") |
436 DEFINE_BOOL(trace_turbo, false, "trace generated TurboFan IR") | 436 DEFINE_BOOL(trace_turbo, false, "trace generated TurboFan IR") |
437 DEFINE_BOOL(trace_turbo_graph, false, "trace generated TurboFan graphs") | 437 DEFINE_BOOL(trace_turbo_graph, false, "trace generated TurboFan graphs") |
438 DEFINE_IMPLICATION(trace_turbo_graph, trace_turbo) | 438 DEFINE_IMPLICATION(trace_turbo_graph, trace_turbo) |
439 DEFINE_STRING(trace_turbo_cfg_file, NULL, | 439 DEFINE_STRING(trace_turbo_cfg_file, NULL, |
440 "trace turbo cfg graph (for C1 visualizer) to a given file name") | 440 "trace turbo cfg graph (for C1 visualizer) to a given file name") |
441 DEFINE_BOOL(trace_turbo_types, true, "trace TurboFan's types") | 441 DEFINE_BOOL(trace_turbo_types, true, "trace TurboFan's types") |
442 DEFINE_BOOL(trace_turbo_scheduler, false, "trace TurboFan's scheduler") | 442 DEFINE_BOOL(trace_turbo_scheduler, false, "trace TurboFan's scheduler") |
443 DEFINE_BOOL(trace_turbo_reduction, false, "trace TurboFan's various reducers") | 443 DEFINE_BOOL(trace_turbo_reduction, false, "trace TurboFan's various reducers") |
| 444 DEFINE_BOOL(trace_turbo_trimming, false, "trace TurboFan's graph trimmer") |
444 DEFINE_BOOL(trace_turbo_jt, false, "trace TurboFan's jump threading") | 445 DEFINE_BOOL(trace_turbo_jt, false, "trace TurboFan's jump threading") |
445 DEFINE_BOOL(trace_turbo_ceq, false, "trace TurboFan's control equivalence") | 446 DEFINE_BOOL(trace_turbo_ceq, false, "trace TurboFan's control equivalence") |
446 DEFINE_BOOL(turbo_asm, true, "enable TurboFan for asm.js code") | 447 DEFINE_BOOL(turbo_asm, true, "enable TurboFan for asm.js code") |
447 DEFINE_BOOL(turbo_asm_deoptimization, false, | 448 DEFINE_BOOL(turbo_asm_deoptimization, false, |
448 "enable deoptimization in TurboFan for asm.js code") | 449 "enable deoptimization in TurboFan for asm.js code") |
449 DEFINE_BOOL(turbo_verify, DEBUG_BOOL, "verify TurboFan graphs at each phase") | 450 DEFINE_BOOL(turbo_verify, DEBUG_BOOL, "verify TurboFan graphs at each phase") |
450 DEFINE_BOOL(turbo_stats, false, "print TurboFan statistics") | 451 DEFINE_BOOL(turbo_stats, false, "print TurboFan statistics") |
451 DEFINE_BOOL(turbo_stats_nvp, false, | 452 DEFINE_BOOL(turbo_stats_nvp, false, |
452 "print TurboFan statistics in machine-readable format") | 453 "print TurboFan statistics in machine-readable format") |
453 DEFINE_BOOL(turbo_splitting, true, "split nodes during scheduling in TurboFan") | 454 DEFINE_BOOL(turbo_splitting, true, "split nodes during scheduling in TurboFan") |
(...skipping 744 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1198 #undef DEFINE_ALIAS_FLOAT | 1199 #undef DEFINE_ALIAS_FLOAT |
1199 #undef DEFINE_ALIAS_ARGS | 1200 #undef DEFINE_ALIAS_ARGS |
1200 | 1201 |
1201 #undef FLAG_MODE_DECLARE | 1202 #undef FLAG_MODE_DECLARE |
1202 #undef FLAG_MODE_DEFINE | 1203 #undef FLAG_MODE_DEFINE |
1203 #undef FLAG_MODE_DEFINE_DEFAULTS | 1204 #undef FLAG_MODE_DEFINE_DEFAULTS |
1204 #undef FLAG_MODE_META | 1205 #undef FLAG_MODE_META |
1205 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1206 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1206 | 1207 |
1207 #undef COMMA | 1208 #undef COMMA |
OLD | NEW |