| 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 470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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, | 489 DEFINE_BOOL(turbo_lower_create_closure, false, |
| 490 "enable inline allocation for closure instantiation") | 490 "enable inline allocation for closure instantiation") |
| 491 // TODO(turbofan): Rename --crankshaft to --optimize eventually. |
| 492 DEFINE_IMPLICATION(turbo, crankshaft) |
| 491 | 493 |
| 492 // Flags to help platform porters | 494 // Flags to help platform porters |
| 493 DEFINE_BOOL(minimal, false, | 495 DEFINE_BOOL(minimal, false, |
| 494 "simplifies execution model to make porting " | 496 "simplifies execution model to make porting " |
| 495 "easier (e.g. always use Ignition, never use Crankshaft") | 497 "easier (e.g. always use Ignition, never use Crankshaft") |
| 496 DEFINE_IMPLICATION(minimal, ignition) | 498 DEFINE_IMPLICATION(minimal, ignition) |
| 497 DEFINE_NEG_IMPLICATION(minimal, crankshaft) | 499 DEFINE_NEG_IMPLICATION(minimal, crankshaft) |
| 498 DEFINE_NEG_IMPLICATION(minimal, use_ic) | 500 DEFINE_NEG_IMPLICATION(minimal, use_ic) |
| 499 | 501 |
| 500 // Flags for native WebAssembly. | 502 // Flags for native WebAssembly. |
| (...skipping 794 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1295 #undef DEFINE_ALIAS_FLOAT | 1297 #undef DEFINE_ALIAS_FLOAT |
| 1296 #undef DEFINE_ALIAS_ARGS | 1298 #undef DEFINE_ALIAS_ARGS |
| 1297 | 1299 |
| 1298 #undef FLAG_MODE_DECLARE | 1300 #undef FLAG_MODE_DECLARE |
| 1299 #undef FLAG_MODE_DEFINE | 1301 #undef FLAG_MODE_DEFINE |
| 1300 #undef FLAG_MODE_DEFINE_DEFAULTS | 1302 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1301 #undef FLAG_MODE_META | 1303 #undef FLAG_MODE_META |
| 1302 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1304 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1303 | 1305 |
| 1304 #undef COMMA | 1306 #undef COMMA |
| OLD | NEW |