| 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 431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 442 "verify register allocation in TurboFan") | 442 "verify register allocation in TurboFan") |
| 443 DEFINE_BOOL(turbo_move_optimization, true, "optimize gap moves in TurboFan") | 443 DEFINE_BOOL(turbo_move_optimization, true, "optimize gap moves in TurboFan") |
| 444 DEFINE_BOOL(turbo_jt, true, "enable jump threading in TurboFan") | 444 DEFINE_BOOL(turbo_jt, true, "enable jump threading in TurboFan") |
| 445 DEFINE_BOOL(turbo_osr, true, "enable OSR in TurboFan") | 445 DEFINE_BOOL(turbo_osr, true, "enable OSR in TurboFan") |
| 446 DEFINE_BOOL(turbo_stress_loop_peeling, false, | 446 DEFINE_BOOL(turbo_stress_loop_peeling, false, |
| 447 "stress loop peeling optimization") | 447 "stress loop peeling optimization") |
| 448 DEFINE_BOOL(turbo_cf_optimization, true, "optimize control flow in TurboFan") | 448 DEFINE_BOOL(turbo_cf_optimization, true, "optimize control flow in TurboFan") |
| 449 DEFINE_BOOL(turbo_frame_elision, true, "elide frames in TurboFan") | 449 DEFINE_BOOL(turbo_frame_elision, true, "elide frames in TurboFan") |
| 450 DEFINE_BOOL(turbo_cache_shared_code, true, "cache context-independent code") | 450 DEFINE_BOOL(turbo_cache_shared_code, true, "cache context-independent code") |
| 451 DEFINE_BOOL(turbo_preserve_shared_code, false, "keep context-independent code") | 451 DEFINE_BOOL(turbo_preserve_shared_code, false, "keep context-independent code") |
| 452 DEFINE_BOOL(turbo_escape, false, "enable escape analysis") | 452 DEFINE_BOOL(experimental_turbo_escape, false, "enable escape analysis") |
| 453 DEFINE_BOOL(turbo_instruction_scheduling, false, | 453 DEFINE_BOOL(turbo_instruction_scheduling, false, |
| 454 "enable instruction scheduling in TurboFan") | 454 "enable instruction scheduling in TurboFan") |
| 455 DEFINE_BOOL(turbo_stress_instruction_scheduling, false, | 455 DEFINE_BOOL(turbo_stress_instruction_scheduling, false, |
| 456 "randomly schedule instructions to stress dependency tracking") | 456 "randomly schedule instructions to stress dependency tracking") |
| 457 | 457 |
| 458 // Flags for native WebAssembly. | 458 // Flags for native WebAssembly. |
| 459 DEFINE_BOOL(expose_wasm, false, "expose WASM interface to JavaScript") | 459 DEFINE_BOOL(expose_wasm, false, "expose WASM interface to JavaScript") |
| 460 DEFINE_BOOL(trace_wasm_encoder, false, "trace encoding of wasm code") | 460 DEFINE_BOOL(trace_wasm_encoder, false, "trace encoding of wasm code") |
| 461 DEFINE_BOOL(trace_wasm_decoder, false, "trace decoding of wasm code") | 461 DEFINE_BOOL(trace_wasm_decoder, false, "trace decoding of wasm code") |
| 462 DEFINE_BOOL(trace_wasm_decode_time, false, "trace decoding time of wasm code") | 462 DEFINE_BOOL(trace_wasm_decode_time, false, "trace decoding time of wasm code") |
| (...skipping 698 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1161 #undef DEFINE_ALIAS_FLOAT | 1161 #undef DEFINE_ALIAS_FLOAT |
| 1162 #undef DEFINE_ALIAS_ARGS | 1162 #undef DEFINE_ALIAS_ARGS |
| 1163 | 1163 |
| 1164 #undef FLAG_MODE_DECLARE | 1164 #undef FLAG_MODE_DECLARE |
| 1165 #undef FLAG_MODE_DEFINE | 1165 #undef FLAG_MODE_DEFINE |
| 1166 #undef FLAG_MODE_DEFINE_DEFAULTS | 1166 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1167 #undef FLAG_MODE_META | 1167 #undef FLAG_MODE_META |
| 1168 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1168 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1169 | 1169 |
| 1170 #undef COMMA | 1170 #undef COMMA |
| OLD | NEW |