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 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
383 DEFINE_STRING(turbo_filter, "~", "optimization filter for TurboFan compiler") | 383 DEFINE_STRING(turbo_filter, "~", "optimization filter for TurboFan compiler") |
384 DEFINE_BOOL(trace_turbo, false, "trace generated TurboFan IR") | 384 DEFINE_BOOL(trace_turbo, false, "trace generated TurboFan IR") |
385 DEFINE_BOOL(trace_turbo_graph, false, "trace generated TurboFan graphs") | 385 DEFINE_BOOL(trace_turbo_graph, false, "trace generated TurboFan graphs") |
386 DEFINE_IMPLICATION(trace_turbo_graph, trace_turbo) | 386 DEFINE_IMPLICATION(trace_turbo_graph, trace_turbo) |
387 DEFINE_STRING(trace_turbo_cfg_file, NULL, | 387 DEFINE_STRING(trace_turbo_cfg_file, NULL, |
388 "trace turbo cfg graph (for C1 visualizer) to a given file name") | 388 "trace turbo cfg graph (for C1 visualizer) to a given file name") |
389 DEFINE_BOOL(trace_turbo_types, true, "trace TurboFan's types") | 389 DEFINE_BOOL(trace_turbo_types, true, "trace TurboFan's types") |
390 DEFINE_BOOL(trace_turbo_scheduler, false, "trace TurboFan's scheduler") | 390 DEFINE_BOOL(trace_turbo_scheduler, false, "trace TurboFan's scheduler") |
391 DEFINE_BOOL(trace_turbo_reduction, false, "trace TurboFan's various reducers") | 391 DEFINE_BOOL(trace_turbo_reduction, false, "trace TurboFan's various reducers") |
392 DEFINE_BOOL(trace_turbo_jt, false, "trace TurboFan's jump threading") | 392 DEFINE_BOOL(trace_turbo_jt, false, "trace TurboFan's jump threading") |
| 393 DEFINE_BOOL(trace_turbo_ceq, false, "trace TurboFan's control equivalence") |
393 DEFINE_BOOL(turbo_asm, true, "enable TurboFan for asm.js code") | 394 DEFINE_BOOL(turbo_asm, true, "enable TurboFan for asm.js code") |
394 DEFINE_BOOL(turbo_verify, DEBUG_BOOL, "verify TurboFan graphs at each phase") | 395 DEFINE_BOOL(turbo_verify, DEBUG_BOOL, "verify TurboFan graphs at each phase") |
395 DEFINE_BOOL(turbo_stats, false, "print TurboFan statistics") | 396 DEFINE_BOOL(turbo_stats, false, "print TurboFan statistics") |
396 DEFINE_BOOL(turbo_splitting, true, "split nodes during scheduling in TurboFan") | 397 DEFINE_BOOL(turbo_splitting, true, "split nodes during scheduling in TurboFan") |
397 DEFINE_BOOL(turbo_types, true, "use typed lowering in TurboFan") | 398 DEFINE_BOOL(turbo_types, true, "use typed lowering in TurboFan") |
398 DEFINE_BOOL(turbo_type_feedback, false, "use type feedback in TurboFan") | 399 DEFINE_BOOL(turbo_type_feedback, false, "use type feedback in TurboFan") |
399 DEFINE_BOOL(turbo_source_positions, false, | 400 DEFINE_BOOL(turbo_source_positions, false, |
400 "track source code positions when building TurboFan IR") | 401 "track source code positions when building TurboFan IR") |
401 DEFINE_IMPLICATION(trace_turbo, turbo_source_positions) | 402 DEFINE_IMPLICATION(trace_turbo, turbo_source_positions) |
402 DEFINE_BOOL(context_specialization, false, | 403 DEFINE_BOOL(context_specialization, false, |
(...skipping 642 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1045 #undef DEFINE_ALIAS_FLOAT | 1046 #undef DEFINE_ALIAS_FLOAT |
1046 #undef DEFINE_ALIAS_ARGS | 1047 #undef DEFINE_ALIAS_ARGS |
1047 | 1048 |
1048 #undef FLAG_MODE_DECLARE | 1049 #undef FLAG_MODE_DECLARE |
1049 #undef FLAG_MODE_DEFINE | 1050 #undef FLAG_MODE_DEFINE |
1050 #undef FLAG_MODE_DEFINE_DEFAULTS | 1051 #undef FLAG_MODE_DEFINE_DEFAULTS |
1051 #undef FLAG_MODE_META | 1052 #undef FLAG_MODE_META |
1052 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1053 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1053 | 1054 |
1054 #undef COMMA | 1055 #undef COMMA |
OLD | NEW |