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 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
438 "enable context specialization in TurboFan") | 438 "enable context specialization in TurboFan") |
439 DEFINE_BOOL(turbo_inlining, false, "enable inlining in TurboFan") | 439 DEFINE_BOOL(turbo_inlining, false, "enable inlining in TurboFan") |
440 DEFINE_BOOL(trace_turbo_inlining, false, "trace TurboFan inlining") | 440 DEFINE_BOOL(trace_turbo_inlining, false, "trace TurboFan inlining") |
441 DEFINE_BOOL(loop_assignment_analysis, true, "perform loop assignment analysis") | 441 DEFINE_BOOL(loop_assignment_analysis, true, "perform loop assignment analysis") |
442 DEFINE_BOOL(turbo_profiling, false, "enable profiling in TurboFan") | 442 DEFINE_BOOL(turbo_profiling, false, "enable profiling in TurboFan") |
443 DEFINE_BOOL(turbo_verify_allocation, DEBUG_BOOL, | 443 DEFINE_BOOL(turbo_verify_allocation, DEBUG_BOOL, |
444 "verify register allocation in TurboFan") | 444 "verify register allocation in TurboFan") |
445 DEFINE_BOOL(turbo_move_optimization, true, "optimize gap moves in TurboFan") | 445 DEFINE_BOOL(turbo_move_optimization, true, "optimize gap moves in TurboFan") |
446 DEFINE_BOOL(turbo_jt, true, "enable jump threading in TurboFan") | 446 DEFINE_BOOL(turbo_jt, true, "enable jump threading in TurboFan") |
447 DEFINE_BOOL(turbo_osr, true, "enable OSR in TurboFan") | 447 DEFINE_BOOL(turbo_osr, true, "enable OSR in TurboFan") |
448 DEFINE_BOOL(turbo_try_catch, true, "enable try-catch support in TurboFan") | |
449 DEFINE_BOOL(turbo_try_finally, false, "enable try-finally support in TurboFan") | 448 DEFINE_BOOL(turbo_try_finally, false, "enable try-finally support in TurboFan") |
450 DEFINE_BOOL(turbo_stress_loop_peeling, false, | 449 DEFINE_BOOL(turbo_stress_loop_peeling, false, |
451 "stress loop peeling optimization") | 450 "stress loop peeling optimization") |
452 DEFINE_BOOL(turbo_cf_optimization, true, "optimize control flow in TurboFan") | 451 DEFINE_BOOL(turbo_cf_optimization, true, "optimize control flow in TurboFan") |
453 DEFINE_BOOL(turbo_frame_elision, true, "elide frames in TurboFan") | 452 DEFINE_BOOL(turbo_frame_elision, true, "elide frames in TurboFan") |
454 DEFINE_BOOL(turbo_cache_shared_code, true, "cache context-independent code") | 453 DEFINE_BOOL(turbo_cache_shared_code, true, "cache context-independent code") |
455 DEFINE_BOOL(turbo_preserve_shared_code, false, "keep context-independent code") | 454 DEFINE_BOOL(turbo_preserve_shared_code, false, "keep context-independent code") |
456 | 455 |
457 #if defined(V8_WASM) | 456 #if defined(V8_WASM) |
458 // Flags for native WebAssembly. | 457 // Flags for native WebAssembly. |
(...skipping 646 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1105 #undef DEFINE_ALIAS_FLOAT | 1104 #undef DEFINE_ALIAS_FLOAT |
1106 #undef DEFINE_ALIAS_ARGS | 1105 #undef DEFINE_ALIAS_ARGS |
1107 | 1106 |
1108 #undef FLAG_MODE_DECLARE | 1107 #undef FLAG_MODE_DECLARE |
1109 #undef FLAG_MODE_DEFINE | 1108 #undef FLAG_MODE_DEFINE |
1110 #undef FLAG_MODE_DEFINE_DEFAULTS | 1109 #undef FLAG_MODE_DEFINE_DEFAULTS |
1111 #undef FLAG_MODE_META | 1110 #undef FLAG_MODE_META |
1112 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1111 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1113 | 1112 |
1114 #undef COMMA | 1113 #undef COMMA |
OLD | NEW |