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 413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
424 "enable deoptimization in TurboFan for asm.js code") | 424 "enable deoptimization in TurboFan for asm.js code") |
425 DEFINE_BOOL(turbo_verify, DEBUG_BOOL, "verify TurboFan graphs at each phase") | 425 DEFINE_BOOL(turbo_verify, DEBUG_BOOL, "verify TurboFan graphs at each phase") |
426 DEFINE_BOOL(turbo_stats, false, "print TurboFan statistics") | 426 DEFINE_BOOL(turbo_stats, false, "print TurboFan statistics") |
427 DEFINE_BOOL(turbo_splitting, true, "split nodes during scheduling in TurboFan") | 427 DEFINE_BOOL(turbo_splitting, true, "split nodes during scheduling in TurboFan") |
428 DEFINE_BOOL(turbo_types, true, "use typed lowering in TurboFan") | 428 DEFINE_BOOL(turbo_types, true, "use typed lowering in TurboFan") |
429 DEFINE_BOOL(turbo_type_feedback, false, "use type feedback in TurboFan") | 429 DEFINE_BOOL(turbo_type_feedback, false, "use type feedback in TurboFan") |
430 DEFINE_BOOL(turbo_allocate, false, "enable inline allocations in TurboFan") | 430 DEFINE_BOOL(turbo_allocate, false, "enable inline allocations in TurboFan") |
431 DEFINE_BOOL(turbo_source_positions, false, | 431 DEFINE_BOOL(turbo_source_positions, false, |
432 "track source code positions when building TurboFan IR") | 432 "track source code positions when building TurboFan IR") |
433 DEFINE_IMPLICATION(trace_turbo, turbo_source_positions) | 433 DEFINE_IMPLICATION(trace_turbo, turbo_source_positions) |
434 DEFINE_BOOL(context_specialization, false, | 434 DEFINE_BOOL(function_context_specialization, false, |
435 "enable context specialization in TurboFan") | 435 "enable function context specialization in TurboFan") |
436 DEFINE_BOOL(turbo_inlining, false, "enable inlining in TurboFan") | 436 DEFINE_BOOL(turbo_inlining, false, "enable inlining in TurboFan") |
437 DEFINE_BOOL(trace_turbo_inlining, false, "trace TurboFan inlining") | 437 DEFINE_BOOL(trace_turbo_inlining, false, "trace TurboFan inlining") |
438 DEFINE_BOOL(loop_assignment_analysis, true, "perform loop assignment analysis") | 438 DEFINE_BOOL(loop_assignment_analysis, true, "perform loop assignment analysis") |
439 DEFINE_BOOL(turbo_profiling, false, "enable profiling in TurboFan") | 439 DEFINE_BOOL(turbo_profiling, false, "enable profiling in TurboFan") |
440 DEFINE_BOOL(turbo_verify_allocation, DEBUG_BOOL, | 440 DEFINE_BOOL(turbo_verify_allocation, DEBUG_BOOL, |
441 "verify register allocation in TurboFan") | 441 "verify register allocation in TurboFan") |
442 DEFINE_BOOL(turbo_move_optimization, true, "optimize gap moves in TurboFan") | 442 DEFINE_BOOL(turbo_move_optimization, true, "optimize gap moves in TurboFan") |
443 DEFINE_BOOL(turbo_jt, true, "enable jump threading in TurboFan") | 443 DEFINE_BOOL(turbo_jt, true, "enable jump threading in TurboFan") |
444 DEFINE_BOOL(turbo_osr, true, "enable OSR in TurboFan") | 444 DEFINE_BOOL(turbo_osr, true, "enable OSR in TurboFan") |
445 DEFINE_BOOL(turbo_try_finally, false, "enable try-finally support in TurboFan") | 445 DEFINE_BOOL(turbo_try_finally, false, "enable try-finally support in TurboFan") |
(...skipping 655 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1101 #undef DEFINE_ALIAS_FLOAT | 1101 #undef DEFINE_ALIAS_FLOAT |
1102 #undef DEFINE_ALIAS_ARGS | 1102 #undef DEFINE_ALIAS_ARGS |
1103 | 1103 |
1104 #undef FLAG_MODE_DECLARE | 1104 #undef FLAG_MODE_DECLARE |
1105 #undef FLAG_MODE_DEFINE | 1105 #undef FLAG_MODE_DEFINE |
1106 #undef FLAG_MODE_DEFINE_DEFAULTS | 1106 #undef FLAG_MODE_DEFINE_DEFAULTS |
1107 #undef FLAG_MODE_META | 1107 #undef FLAG_MODE_META |
1108 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1108 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1109 | 1109 |
1110 #undef COMMA | 1110 #undef COMMA |
OLD | NEW |