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 466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
477 DEFINE_BOOL(turbo_verify_allocation, DEBUG_BOOL, | 477 DEFINE_BOOL(turbo_verify_allocation, DEBUG_BOOL, |
478 "verify register allocation in TurboFan") | 478 "verify register allocation in TurboFan") |
479 DEFINE_BOOL(turbo_move_optimization, true, "optimize gap moves in TurboFan") | 479 DEFINE_BOOL(turbo_move_optimization, true, "optimize gap moves in TurboFan") |
480 DEFINE_BOOL(turbo_jt, true, "enable jump threading in TurboFan") | 480 DEFINE_BOOL(turbo_jt, true, "enable jump threading in TurboFan") |
481 DEFINE_BOOL(turbo_stress_loop_peeling, false, | 481 DEFINE_BOOL(turbo_stress_loop_peeling, false, |
482 "stress loop peeling optimization") | 482 "stress loop peeling optimization") |
483 DEFINE_BOOL(turbo_loop_peeling, false, "Turbofan loop peeling") | 483 DEFINE_BOOL(turbo_loop_peeling, false, "Turbofan loop peeling") |
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") | |
488 DEFINE_BOOL(turbo_preserve_shared_code, false, "keep context-independent code") | |
489 DEFINE_BOOL(turbo_escape, false, "enable escape analysis") | 487 DEFINE_BOOL(turbo_escape, false, "enable escape analysis") |
490 DEFINE_BOOL(turbo_instruction_scheduling, false, | 488 DEFINE_BOOL(turbo_instruction_scheduling, false, |
491 "enable instruction scheduling in TurboFan") | 489 "enable instruction scheduling in TurboFan") |
492 DEFINE_BOOL(turbo_stress_instruction_scheduling, false, | 490 DEFINE_BOOL(turbo_stress_instruction_scheduling, false, |
493 "randomly schedule instructions to stress dependency tracking") | 491 "randomly schedule instructions to stress dependency tracking") |
494 DEFINE_BOOL(turbo_store_elimination, true, | 492 DEFINE_BOOL(turbo_store_elimination, true, |
495 "enable store-store elimination in TurboFan") | 493 "enable store-store elimination in TurboFan") |
496 | 494 |
497 // Flags to help platform porters | 495 // Flags to help platform porters |
498 DEFINE_BOOL(minimal, false, | 496 DEFINE_BOOL(minimal, false, |
(...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1219 #undef DEFINE_ALIAS_FLOAT | 1217 #undef DEFINE_ALIAS_FLOAT |
1220 #undef DEFINE_ALIAS_ARGS | 1218 #undef DEFINE_ALIAS_ARGS |
1221 | 1219 |
1222 #undef FLAG_MODE_DECLARE | 1220 #undef FLAG_MODE_DECLARE |
1223 #undef FLAG_MODE_DEFINE | 1221 #undef FLAG_MODE_DEFINE |
1224 #undef FLAG_MODE_DEFINE_DEFAULTS | 1222 #undef FLAG_MODE_DEFINE_DEFAULTS |
1225 #undef FLAG_MODE_META | 1223 #undef FLAG_MODE_META |
1226 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1224 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1227 | 1225 |
1228 #undef COMMA | 1226 #undef COMMA |
OLD | NEW |