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 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
396 DEFINE_BOOL(turbo_asm, true, "enable TurboFan for asm.js code") | 396 DEFINE_BOOL(turbo_asm, true, "enable TurboFan for asm.js code") |
397 DEFINE_BOOL(turbo_verify, DEBUG_BOOL, "verify TurboFan graphs at each phase") | 397 DEFINE_BOOL(turbo_verify, DEBUG_BOOL, "verify TurboFan graphs at each phase") |
398 DEFINE_BOOL(turbo_stats, false, "print TurboFan statistics") | 398 DEFINE_BOOL(turbo_stats, false, "print TurboFan statistics") |
399 DEFINE_BOOL(turbo_types, true, "use typed lowering in TurboFan") | 399 DEFINE_BOOL(turbo_types, true, "use typed lowering in TurboFan") |
400 DEFINE_BOOL(turbo_source_positions, false, | 400 DEFINE_BOOL(turbo_source_positions, false, |
401 "track source code positions when building TurboFan IR") | 401 "track source code positions when building TurboFan IR") |
402 DEFINE_BOOL(context_specialization, false, | 402 DEFINE_BOOL(context_specialization, false, |
403 "enable context specialization in TurboFan") | 403 "enable context specialization in TurboFan") |
404 DEFINE_BOOL(turbo_deoptimization, false, "enable deoptimization in TurboFan") | 404 DEFINE_BOOL(turbo_deoptimization, false, "enable deoptimization in TurboFan") |
405 DEFINE_BOOL(turbo_inlining, false, "enable inlining in TurboFan") | 405 DEFINE_BOOL(turbo_inlining, false, "enable inlining in TurboFan") |
406 DEFINE_BOOL(turbo_inlining_intrinsics, false, | |
407 "enable inlining of intrinsics in TurboFan") | |
408 DEFINE_BOOL(trace_turbo_inlining, false, "trace TurboFan inlining") | 406 DEFINE_BOOL(trace_turbo_inlining, false, "trace TurboFan inlining") |
409 DEFINE_BOOL(loop_assignment_analysis, true, "perform loop assignment analysis") | 407 DEFINE_BOOL(loop_assignment_analysis, true, "perform loop assignment analysis") |
410 DEFINE_IMPLICATION(turbo_inlining_intrinsics, turbo_inlining) | |
411 DEFINE_IMPLICATION(turbo_inlining, turbo_types) | 408 DEFINE_IMPLICATION(turbo_inlining, turbo_types) |
412 DEFINE_BOOL(turbo_profiling, false, "enable profiling in TurboFan") | 409 DEFINE_BOOL(turbo_profiling, false, "enable profiling in TurboFan") |
413 // TODO(dcarney): this is just for experimentation, remove when default. | 410 // TODO(dcarney): this is just for experimentation, remove when default. |
414 DEFINE_BOOL(turbo_delay_ssa_decon, false, | 411 DEFINE_BOOL(turbo_delay_ssa_decon, false, |
415 "delay ssa deconstruction in TurboFan register allocator") | 412 "delay ssa deconstruction in TurboFan register allocator") |
416 DEFINE_BOOL(turbo_verify_allocation, DEBUG_BOOL, | 413 DEFINE_BOOL(turbo_verify_allocation, DEBUG_BOOL, |
417 "verify register allocation in TurboFan") | 414 "verify register allocation in TurboFan") |
418 DEFINE_BOOL(turbo_move_optimization, true, "optimize gap moves in TurboFan") | 415 DEFINE_BOOL(turbo_move_optimization, true, "optimize gap moves in TurboFan") |
419 DEFINE_BOOL(turbo_jt, true, "enable jump threading in TurboFan") | 416 DEFINE_BOOL(turbo_jt, true, "enable jump threading in TurboFan") |
420 DEFINE_BOOL(turbo_osr, false, "enable OSR in TurboFan") | 417 DEFINE_BOOL(turbo_osr, false, "enable OSR in TurboFan") |
(...skipping 592 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1013 #undef DEFINE_ALIAS_FLOAT | 1010 #undef DEFINE_ALIAS_FLOAT |
1014 #undef DEFINE_ALIAS_ARGS | 1011 #undef DEFINE_ALIAS_ARGS |
1015 | 1012 |
1016 #undef FLAG_MODE_DECLARE | 1013 #undef FLAG_MODE_DECLARE |
1017 #undef FLAG_MODE_DEFINE | 1014 #undef FLAG_MODE_DEFINE |
1018 #undef FLAG_MODE_DEFINE_DEFAULTS | 1015 #undef FLAG_MODE_DEFINE_DEFAULTS |
1019 #undef FLAG_MODE_META | 1016 #undef FLAG_MODE_META |
1020 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1017 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1021 | 1018 |
1022 #undef COMMA | 1019 #undef COMMA |
OLD | NEW |