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 444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
455 "use typed feedback for representation inference in Turbofan") | 455 "use typed feedback for representation inference in Turbofan") |
456 DEFINE_BOOL(turbo_source_positions, false, | 456 DEFINE_BOOL(turbo_source_positions, false, |
457 "track source code positions when building TurboFan IR") | 457 "track source code positions when building TurboFan IR") |
458 DEFINE_IMPLICATION(trace_turbo, turbo_source_positions) | 458 DEFINE_IMPLICATION(trace_turbo, turbo_source_positions) |
459 DEFINE_BOOL(function_context_specialization, false, | 459 DEFINE_BOOL(function_context_specialization, false, |
460 "enable function context specialization in TurboFan") | 460 "enable function context specialization in TurboFan") |
461 DEFINE_BOOL(native_context_specialization, true, | 461 DEFINE_BOOL(native_context_specialization, true, |
462 "enable native context specialization in TurboFan") | 462 "enable native context specialization in TurboFan") |
463 DEFINE_BOOL(turbo_inlining, true, "enable inlining in TurboFan") | 463 DEFINE_BOOL(turbo_inlining, true, "enable inlining in TurboFan") |
464 DEFINE_BOOL(trace_turbo_inlining, false, "trace TurboFan inlining") | 464 DEFINE_BOOL(trace_turbo_inlining, false, "trace TurboFan inlining") |
| 465 DEFINE_BOOL(turbo_load_elimination, true, "enable load elimination in TurboFan") |
| 466 DEFINE_BOOL(trace_turbo_load_elimination, false, |
| 467 "trace TurboFan load elimination") |
465 DEFINE_BOOL(loop_assignment_analysis, true, "perform loop assignment analysis") | 468 DEFINE_BOOL(loop_assignment_analysis, true, "perform loop assignment analysis") |
466 DEFINE_BOOL(turbo_profiling, false, "enable profiling in TurboFan") | 469 DEFINE_BOOL(turbo_profiling, false, "enable profiling in TurboFan") |
467 DEFINE_BOOL(turbo_verify_allocation, DEBUG_BOOL, | 470 DEFINE_BOOL(turbo_verify_allocation, DEBUG_BOOL, |
468 "verify register allocation in TurboFan") | 471 "verify register allocation in TurboFan") |
469 DEFINE_BOOL(turbo_move_optimization, true, "optimize gap moves in TurboFan") | 472 DEFINE_BOOL(turbo_move_optimization, true, "optimize gap moves in TurboFan") |
470 DEFINE_BOOL(turbo_jt, true, "enable jump threading in TurboFan") | 473 DEFINE_BOOL(turbo_jt, true, "enable jump threading in TurboFan") |
471 DEFINE_BOOL(turbo_stress_loop_peeling, false, | 474 DEFINE_BOOL(turbo_stress_loop_peeling, false, |
472 "stress loop peeling optimization") | 475 "stress loop peeling optimization") |
473 DEFINE_BOOL(turbo_cf_optimization, true, "optimize control flow in TurboFan") | 476 DEFINE_BOOL(turbo_cf_optimization, true, "optimize control flow in TurboFan") |
474 DEFINE_BOOL(turbo_frame_elision, true, "elide frames in TurboFan") | 477 DEFINE_BOOL(turbo_frame_elision, true, "elide frames in TurboFan") |
(...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1195 #undef DEFINE_ALIAS_FLOAT | 1198 #undef DEFINE_ALIAS_FLOAT |
1196 #undef DEFINE_ALIAS_ARGS | 1199 #undef DEFINE_ALIAS_ARGS |
1197 | 1200 |
1198 #undef FLAG_MODE_DECLARE | 1201 #undef FLAG_MODE_DECLARE |
1199 #undef FLAG_MODE_DEFINE | 1202 #undef FLAG_MODE_DEFINE |
1200 #undef FLAG_MODE_DEFINE_DEFAULTS | 1203 #undef FLAG_MODE_DEFINE_DEFAULTS |
1201 #undef FLAG_MODE_META | 1204 #undef FLAG_MODE_META |
1202 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1205 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1203 | 1206 |
1204 #undef COMMA | 1207 #undef COMMA |
OLD | NEW |