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 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
492 DEFINE_BOOL(turbo_loop_variable, true, "Turbofan loop variable optimization") | 492 DEFINE_BOOL(turbo_loop_variable, true, "Turbofan loop variable optimization") |
493 DEFINE_BOOL(turbo_cf_optimization, true, "optimize control flow in TurboFan") | 493 DEFINE_BOOL(turbo_cf_optimization, true, "optimize control flow in TurboFan") |
494 DEFINE_BOOL(turbo_frame_elision, true, "elide frames in TurboFan") | 494 DEFINE_BOOL(turbo_frame_elision, true, "elide frames in TurboFan") |
495 DEFINE_BOOL(turbo_escape, true, "enable escape analysis") | 495 DEFINE_BOOL(turbo_escape, true, "enable escape analysis") |
496 DEFINE_BOOL(turbo_instruction_scheduling, false, | 496 DEFINE_BOOL(turbo_instruction_scheduling, false, |
497 "enable instruction scheduling in TurboFan") | 497 "enable instruction scheduling in TurboFan") |
498 DEFINE_BOOL(turbo_stress_instruction_scheduling, false, | 498 DEFINE_BOOL(turbo_stress_instruction_scheduling, false, |
499 "randomly schedule instructions to stress dependency tracking") | 499 "randomly schedule instructions to stress dependency tracking") |
500 DEFINE_BOOL(turbo_store_elimination, true, | 500 DEFINE_BOOL(turbo_store_elimination, true, |
501 "enable store-store elimination in TurboFan") | 501 "enable store-store elimination in TurboFan") |
| 502 DEFINE_BOOL(turbo_experimental, false, |
| 503 "enable crashing features, for testing purposes only") |
502 // TODO(turbofan): Rename --crankshaft to --optimize eventually. | 504 // TODO(turbofan): Rename --crankshaft to --optimize eventually. |
503 DEFINE_IMPLICATION(turbo, crankshaft) | 505 DEFINE_IMPLICATION(turbo, crankshaft) |
504 | 506 |
505 // Flags to help platform porters | 507 // Flags to help platform porters |
506 DEFINE_BOOL(minimal, false, | 508 DEFINE_BOOL(minimal, false, |
507 "simplifies execution model to make porting " | 509 "simplifies execution model to make porting " |
508 "easier (e.g. always use Ignition, never use Crankshaft") | 510 "easier (e.g. always use Ignition, never use Crankshaft") |
509 DEFINE_IMPLICATION(minimal, ignition) | 511 DEFINE_IMPLICATION(minimal, ignition) |
510 DEFINE_NEG_IMPLICATION(minimal, crankshaft) | 512 DEFINE_NEG_IMPLICATION(minimal, crankshaft) |
511 DEFINE_NEG_IMPLICATION(minimal, use_ic) | 513 DEFINE_NEG_IMPLICATION(minimal, use_ic) |
(...skipping 788 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1300 #undef DEFINE_ALIAS_FLOAT | 1302 #undef DEFINE_ALIAS_FLOAT |
1301 #undef DEFINE_ALIAS_ARGS | 1303 #undef DEFINE_ALIAS_ARGS |
1302 | 1304 |
1303 #undef FLAG_MODE_DECLARE | 1305 #undef FLAG_MODE_DECLARE |
1304 #undef FLAG_MODE_DEFINE | 1306 #undef FLAG_MODE_DEFINE |
1305 #undef FLAG_MODE_DEFINE_DEFAULTS | 1307 #undef FLAG_MODE_DEFINE_DEFAULTS |
1306 #undef FLAG_MODE_META | 1308 #undef FLAG_MODE_META |
1307 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1309 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1308 | 1310 |
1309 #undef COMMA | 1311 #undef COMMA |
OLD | NEW |