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 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
393 "trace turbo cfg graph (for C1 visualizer) to a given file name") | 393 "trace turbo cfg graph (for C1 visualizer) to a given file name") |
394 DEFINE_BOOL(trace_turbo_types, true, "trace TurboFan's types") | 394 DEFINE_BOOL(trace_turbo_types, true, "trace TurboFan's types") |
395 DEFINE_BOOL(trace_turbo_scheduler, false, "trace TurboFan's scheduler") | 395 DEFINE_BOOL(trace_turbo_scheduler, false, "trace TurboFan's scheduler") |
396 DEFINE_BOOL(trace_turbo_reduction, false, "trace TurboFan's various reducers") | 396 DEFINE_BOOL(trace_turbo_reduction, false, "trace TurboFan's various reducers") |
397 DEFINE_BOOL(trace_turbo_jt, false, "trace TurboFan's jump threading") | 397 DEFINE_BOOL(trace_turbo_jt, false, "trace TurboFan's jump threading") |
398 DEFINE_BOOL(turbo_asm, true, "enable TurboFan for asm.js code") | 398 DEFINE_BOOL(turbo_asm, true, "enable TurboFan for asm.js code") |
399 DEFINE_BOOL(turbo_verify, DEBUG_BOOL, "verify TurboFan graphs at each phase") | 399 DEFINE_BOOL(turbo_verify, DEBUG_BOOL, "verify TurboFan graphs at each phase") |
400 DEFINE_BOOL(turbo_stats, false, "print TurboFan statistics") | 400 DEFINE_BOOL(turbo_stats, false, "print TurboFan statistics") |
401 DEFINE_BOOL(turbo_splitting, true, "split nodes during scheduling in TurboFan") | 401 DEFINE_BOOL(turbo_splitting, true, "split nodes during scheduling in TurboFan") |
402 DEFINE_BOOL(turbo_types, true, "use typed lowering in TurboFan") | 402 DEFINE_BOOL(turbo_types, true, "use typed lowering in TurboFan") |
403 DEFINE_BOOL(turbo_type_feedback, false, "use type feedback in TurboFan") | |
403 DEFINE_BOOL(turbo_source_positions, false, | 404 DEFINE_BOOL(turbo_source_positions, false, |
404 "track source code positions when building TurboFan IR") | 405 "track source code positions when building TurboFan IR") |
405 DEFINE_IMPLICATION(trace_turbo, turbo_source_positions) | 406 DEFINE_IMPLICATION(trace_turbo, turbo_source_positions) |
407 DEFINE_IMPLICATION(turbo_type_feedback, turbo_deoptimization) | |
titzer
2015/03/24 10:49:32
Comments on this? Should type feedback imply deopt
Michael Starzinger
2015/03/24 12:11:18
Agreed, it would be nice to be able to leverage dy
titzer
2015/03/24 14:52:06
I removed the implication and put a branch in js-t
| |
406 DEFINE_BOOL(context_specialization, false, | 408 DEFINE_BOOL(context_specialization, false, |
407 "enable context specialization in TurboFan") | 409 "enable context specialization in TurboFan") |
408 DEFINE_BOOL(turbo_deoptimization, false, "enable deoptimization in TurboFan") | 410 DEFINE_BOOL(turbo_deoptimization, false, "enable deoptimization in TurboFan") |
409 DEFINE_BOOL(turbo_inlining, false, "enable inlining in TurboFan") | 411 DEFINE_BOOL(turbo_inlining, false, "enable inlining in TurboFan") |
410 DEFINE_BOOL(turbo_builtin_inlining, true, "enable builtin inlining in TurboFan") | 412 DEFINE_BOOL(turbo_builtin_inlining, true, "enable builtin inlining in TurboFan") |
411 DEFINE_BOOL(trace_turbo_inlining, false, "trace TurboFan inlining") | 413 DEFINE_BOOL(trace_turbo_inlining, false, "trace TurboFan inlining") |
412 DEFINE_BOOL(loop_assignment_analysis, true, "perform loop assignment analysis") | 414 DEFINE_BOOL(loop_assignment_analysis, true, "perform loop assignment analysis") |
413 DEFINE_BOOL(turbo_profiling, false, "enable profiling in TurboFan") | 415 DEFINE_BOOL(turbo_profiling, false, "enable profiling in TurboFan") |
414 // TODO(dcarney): this is just for experimentation, remove when default. | 416 // TODO(dcarney): this is just for experimentation, remove when default. |
415 DEFINE_BOOL(turbo_delay_ssa_decon, false, | 417 DEFINE_BOOL(turbo_delay_ssa_decon, false, |
(...skipping 619 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1035 #undef DEFINE_ALIAS_FLOAT | 1037 #undef DEFINE_ALIAS_FLOAT |
1036 #undef DEFINE_ALIAS_ARGS | 1038 #undef DEFINE_ALIAS_ARGS |
1037 | 1039 |
1038 #undef FLAG_MODE_DECLARE | 1040 #undef FLAG_MODE_DECLARE |
1039 #undef FLAG_MODE_DEFINE | 1041 #undef FLAG_MODE_DEFINE |
1040 #undef FLAG_MODE_DEFINE_DEFAULTS | 1042 #undef FLAG_MODE_DEFINE_DEFAULTS |
1041 #undef FLAG_MODE_META | 1043 #undef FLAG_MODE_META |
1042 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1044 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1043 | 1045 |
1044 #undef COMMA | 1046 #undef COMMA |
OLD | NEW |