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 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
479 DEFINE_BOOL(turbo_loop_variable, true, "Turbofan loop variable optimization") | 479 DEFINE_BOOL(turbo_loop_variable, true, "Turbofan loop variable optimization") |
480 DEFINE_BOOL(turbo_cf_optimization, true, "optimize control flow in TurboFan") | 480 DEFINE_BOOL(turbo_cf_optimization, true, "optimize control flow in TurboFan") |
481 DEFINE_BOOL(turbo_frame_elision, true, "elide frames in TurboFan") | 481 DEFINE_BOOL(turbo_frame_elision, true, "elide frames in TurboFan") |
482 DEFINE_BOOL(turbo_escape, true, "enable escape analysis") | 482 DEFINE_BOOL(turbo_escape, true, "enable escape analysis") |
483 DEFINE_BOOL(turbo_instruction_scheduling, false, | 483 DEFINE_BOOL(turbo_instruction_scheduling, false, |
484 "enable instruction scheduling in TurboFan") | 484 "enable instruction scheduling in TurboFan") |
485 DEFINE_BOOL(turbo_stress_instruction_scheduling, false, | 485 DEFINE_BOOL(turbo_stress_instruction_scheduling, false, |
486 "randomly schedule instructions to stress dependency tracking") | 486 "randomly schedule instructions to stress dependency tracking") |
487 DEFINE_BOOL(turbo_store_elimination, true, | 487 DEFINE_BOOL(turbo_store_elimination, true, |
488 "enable store-store elimination in TurboFan") | 488 "enable store-store elimination in TurboFan") |
| 489 DEFINE_BOOL(turbo_lower_create_closure, false, |
| 490 "enable inline allocation for closure instantiation") |
489 | 491 |
490 // Flags to help platform porters | 492 // Flags to help platform porters |
491 DEFINE_BOOL(minimal, false, | 493 DEFINE_BOOL(minimal, false, |
492 "simplifies execution model to make porting " | 494 "simplifies execution model to make porting " |
493 "easier (e.g. always use Ignition, never use Crankshaft") | 495 "easier (e.g. always use Ignition, never use Crankshaft") |
494 DEFINE_IMPLICATION(minimal, ignition) | 496 DEFINE_IMPLICATION(minimal, ignition) |
495 DEFINE_NEG_IMPLICATION(minimal, crankshaft) | 497 DEFINE_NEG_IMPLICATION(minimal, crankshaft) |
496 DEFINE_NEG_IMPLICATION(minimal, use_ic) | 498 DEFINE_NEG_IMPLICATION(minimal, use_ic) |
497 | 499 |
498 // Flags for native WebAssembly. | 500 // Flags for native WebAssembly. |
(...skipping 784 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1283 #undef DEFINE_ALIAS_FLOAT | 1285 #undef DEFINE_ALIAS_FLOAT |
1284 #undef DEFINE_ALIAS_ARGS | 1286 #undef DEFINE_ALIAS_ARGS |
1285 | 1287 |
1286 #undef FLAG_MODE_DECLARE | 1288 #undef FLAG_MODE_DECLARE |
1287 #undef FLAG_MODE_DEFINE | 1289 #undef FLAG_MODE_DEFINE |
1288 #undef FLAG_MODE_DEFINE_DEFAULTS | 1290 #undef FLAG_MODE_DEFINE_DEFAULTS |
1289 #undef FLAG_MODE_META | 1291 #undef FLAG_MODE_META |
1290 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1292 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1291 | 1293 |
1292 #undef COMMA | 1294 #undef COMMA |
OLD | NEW |