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 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
404 DEFINE_BOOL(turbo_source_positions, false, | 404 DEFINE_BOOL(turbo_source_positions, false, |
405 "track source code positions when building TurboFan IR") | 405 "track source code positions when building TurboFan IR") |
406 DEFINE_IMPLICATION(trace_turbo, turbo_source_positions) | 406 DEFINE_IMPLICATION(trace_turbo, turbo_source_positions) |
407 DEFINE_BOOL(context_specialization, false, | 407 DEFINE_BOOL(context_specialization, false, |
408 "enable context specialization in TurboFan") | 408 "enable context specialization in TurboFan") |
409 DEFINE_BOOL(turbo_deoptimization, false, "enable deoptimization in TurboFan") | 409 DEFINE_BOOL(turbo_deoptimization, false, "enable deoptimization in TurboFan") |
410 DEFINE_BOOL(turbo_inlining, false, "enable inlining in TurboFan") | 410 DEFINE_BOOL(turbo_inlining, false, "enable inlining in TurboFan") |
411 DEFINE_BOOL(turbo_builtin_inlining, true, "enable builtin inlining in TurboFan") | 411 DEFINE_BOOL(turbo_builtin_inlining, true, "enable builtin inlining in TurboFan") |
412 DEFINE_BOOL(trace_turbo_inlining, false, "trace TurboFan inlining") | 412 DEFINE_BOOL(trace_turbo_inlining, false, "trace TurboFan inlining") |
413 DEFINE_BOOL(loop_assignment_analysis, true, "perform loop assignment analysis") | 413 DEFINE_BOOL(loop_assignment_analysis, true, "perform loop assignment analysis") |
414 DEFINE_IMPLICATION(turbo_inlining, turbo_types) | |
415 DEFINE_IMPLICATION(turbo_builtin_inlining, turbo_types) | |
416 DEFINE_BOOL(turbo_profiling, false, "enable profiling in TurboFan") | 414 DEFINE_BOOL(turbo_profiling, false, "enable profiling in TurboFan") |
417 // TODO(dcarney): this is just for experimentation, remove when default. | 415 // TODO(dcarney): this is just for experimentation, remove when default. |
418 DEFINE_BOOL(turbo_delay_ssa_decon, false, | 416 DEFINE_BOOL(turbo_delay_ssa_decon, false, |
419 "delay ssa deconstruction in TurboFan register allocator") | 417 "delay ssa deconstruction in TurboFan register allocator") |
420 DEFINE_BOOL(turbo_verify_allocation, DEBUG_BOOL, | 418 DEFINE_BOOL(turbo_verify_allocation, DEBUG_BOOL, |
421 "verify register allocation in TurboFan") | 419 "verify register allocation in TurboFan") |
422 DEFINE_BOOL(turbo_move_optimization, true, "optimize gap moves in TurboFan") | 420 DEFINE_BOOL(turbo_move_optimization, true, "optimize gap moves in TurboFan") |
423 DEFINE_BOOL(turbo_jt, true, "enable jump threading in TurboFan") | 421 DEFINE_BOOL(turbo_jt, true, "enable jump threading in TurboFan") |
424 DEFINE_BOOL(turbo_osr, false, "enable OSR in TurboFan") | 422 DEFINE_BOOL(turbo_osr, false, "enable OSR in TurboFan") |
425 DEFINE_BOOL(turbo_exceptions, false, "enable exception handling in TurboFan") | 423 DEFINE_BOOL(turbo_exceptions, false, "enable exception handling in TurboFan") |
(...skipping 608 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1034 #undef DEFINE_ALIAS_FLOAT | 1032 #undef DEFINE_ALIAS_FLOAT |
1035 #undef DEFINE_ALIAS_ARGS | 1033 #undef DEFINE_ALIAS_ARGS |
1036 | 1034 |
1037 #undef FLAG_MODE_DECLARE | 1035 #undef FLAG_MODE_DECLARE |
1038 #undef FLAG_MODE_DEFINE | 1036 #undef FLAG_MODE_DEFINE |
1039 #undef FLAG_MODE_DEFINE_DEFAULTS | 1037 #undef FLAG_MODE_DEFINE_DEFAULTS |
1040 #undef FLAG_MODE_META | 1038 #undef FLAG_MODE_META |
1041 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1039 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1042 | 1040 |
1043 #undef COMMA | 1041 #undef COMMA |
OLD | NEW |