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 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
484 DEFINE_BOOL(turbo_loop_variable, true, "Turbofan loop variable optimization") | 484 DEFINE_BOOL(turbo_loop_variable, true, "Turbofan loop variable optimization") |
485 DEFINE_BOOL(turbo_cf_optimization, true, "optimize control flow in TurboFan") | 485 DEFINE_BOOL(turbo_cf_optimization, true, "optimize control flow in TurboFan") |
486 DEFINE_BOOL(turbo_frame_elision, true, "elide frames in TurboFan") | 486 DEFINE_BOOL(turbo_frame_elision, true, "elide frames in TurboFan") |
487 DEFINE_BOOL(turbo_cache_shared_code, true, "cache context-independent code") | 487 DEFINE_BOOL(turbo_cache_shared_code, true, "cache context-independent code") |
488 DEFINE_BOOL(turbo_preserve_shared_code, false, "keep context-independent code") | 488 DEFINE_BOOL(turbo_preserve_shared_code, false, "keep context-independent code") |
489 DEFINE_BOOL(turbo_escape, false, "enable escape analysis") | 489 DEFINE_BOOL(turbo_escape, false, "enable escape analysis") |
490 DEFINE_BOOL(turbo_instruction_scheduling, false, | 490 DEFINE_BOOL(turbo_instruction_scheduling, false, |
491 "enable instruction scheduling in TurboFan") | 491 "enable instruction scheduling in TurboFan") |
492 DEFINE_BOOL(turbo_stress_instruction_scheduling, false, | 492 DEFINE_BOOL(turbo_stress_instruction_scheduling, false, |
493 "randomly schedule instructions to stress dependency tracking") | 493 "randomly schedule instructions to stress dependency tracking") |
494 DEFINE_BOOL(turbo_store_elimination, false, | 494 DEFINE_BOOL(turbo_store_elimination, true, |
495 "enable store-store elimination in TurboFan") | 495 "enable store-store elimination in TurboFan") |
496 DEFINE_IMPLICATION(turbo, turbo_store_elimination) | |
497 | 496 |
498 // Flags to help platform porters | 497 // Flags to help platform porters |
499 DEFINE_BOOL(minimal, false, | 498 DEFINE_BOOL(minimal, false, |
500 "simplifies execution model to make porting " | 499 "simplifies execution model to make porting " |
501 "easier (e.g. always use Ignition, never use Crankshaft") | 500 "easier (e.g. always use Ignition, never use Crankshaft") |
502 DEFINE_IMPLICATION(minimal, ignition) | 501 DEFINE_IMPLICATION(minimal, ignition) |
503 DEFINE_NEG_IMPLICATION(minimal, crankshaft) | 502 DEFINE_NEG_IMPLICATION(minimal, crankshaft) |
504 DEFINE_NEG_IMPLICATION(minimal, use_ic) | 503 DEFINE_NEG_IMPLICATION(minimal, use_ic) |
505 | 504 |
506 // Flags for native WebAssembly. | 505 // Flags for native WebAssembly. |
(...skipping 702 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1209 #undef DEFINE_ALIAS_FLOAT | 1208 #undef DEFINE_ALIAS_FLOAT |
1210 #undef DEFINE_ALIAS_ARGS | 1209 #undef DEFINE_ALIAS_ARGS |
1211 | 1210 |
1212 #undef FLAG_MODE_DECLARE | 1211 #undef FLAG_MODE_DECLARE |
1213 #undef FLAG_MODE_DEFINE | 1212 #undef FLAG_MODE_DEFINE |
1214 #undef FLAG_MODE_DEFINE_DEFAULTS | 1213 #undef FLAG_MODE_DEFINE_DEFAULTS |
1215 #undef FLAG_MODE_META | 1214 #undef FLAG_MODE_META |
1216 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1215 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1217 | 1216 |
1218 #undef COMMA | 1217 #undef COMMA |
OLD | NEW |