| 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 465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 476 "stress loop peeling optimization") | 476 "stress loop peeling optimization") |
| 477 DEFINE_BOOL(turbo_cf_optimization, true, "optimize control flow in TurboFan") | 477 DEFINE_BOOL(turbo_cf_optimization, true, "optimize control flow in TurboFan") |
| 478 DEFINE_BOOL(turbo_frame_elision, true, "elide frames in TurboFan") | 478 DEFINE_BOOL(turbo_frame_elision, true, "elide frames in TurboFan") |
| 479 DEFINE_BOOL(turbo_cache_shared_code, true, "cache context-independent code") | 479 DEFINE_BOOL(turbo_cache_shared_code, true, "cache context-independent code") |
| 480 DEFINE_BOOL(turbo_preserve_shared_code, false, "keep context-independent code") | 480 DEFINE_BOOL(turbo_preserve_shared_code, false, "keep context-independent code") |
| 481 DEFINE_BOOL(turbo_escape, false, "enable escape analysis") | 481 DEFINE_BOOL(turbo_escape, false, "enable escape analysis") |
| 482 DEFINE_BOOL(turbo_instruction_scheduling, false, | 482 DEFINE_BOOL(turbo_instruction_scheduling, false, |
| 483 "enable instruction scheduling in TurboFan") | 483 "enable instruction scheduling in TurboFan") |
| 484 DEFINE_BOOL(turbo_stress_instruction_scheduling, false, | 484 DEFINE_BOOL(turbo_stress_instruction_scheduling, false, |
| 485 "randomly schedule instructions to stress dependency tracking") | 485 "randomly schedule instructions to stress dependency tracking") |
| 486 DEFINE_BOOL(turbo_store_elimination, false, |
| 487 "enable store-store elimination in TurboFan") |
| 486 | 488 |
| 487 // Flags for native WebAssembly. | 489 // Flags for native WebAssembly. |
| 488 DEFINE_BOOL(expose_wasm, false, "expose WASM interface to JavaScript") | 490 DEFINE_BOOL(expose_wasm, false, "expose WASM interface to JavaScript") |
| 489 DEFINE_INT(wasm_num_compilation_tasks, 10, | 491 DEFINE_INT(wasm_num_compilation_tasks, 10, |
| 490 "number of parallel compilation tasks for wasm") | 492 "number of parallel compilation tasks for wasm") |
| 491 DEFINE_BOOL(trace_wasm_encoder, false, "trace encoding of wasm code") | 493 DEFINE_BOOL(trace_wasm_encoder, false, "trace encoding of wasm code") |
| 492 DEFINE_BOOL(trace_wasm_decoder, false, "trace decoding of wasm code") | 494 DEFINE_BOOL(trace_wasm_decoder, false, "trace decoding of wasm code") |
| 493 DEFINE_BOOL(trace_wasm_decode_time, false, "trace decoding time of wasm code") | 495 DEFINE_BOOL(trace_wasm_decode_time, false, "trace decoding time of wasm code") |
| 494 DEFINE_BOOL(trace_wasm_compiler, false, "trace compiling of wasm code") | 496 DEFINE_BOOL(trace_wasm_compiler, false, "trace compiling of wasm code") |
| 495 DEFINE_BOOL(trace_wasm_interpreter, false, "trace interpretation of wasm code") | 497 DEFINE_BOOL(trace_wasm_interpreter, false, "trace interpretation of wasm code") |
| (...skipping 699 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1195 #undef DEFINE_ALIAS_FLOAT | 1197 #undef DEFINE_ALIAS_FLOAT |
| 1196 #undef DEFINE_ALIAS_ARGS | 1198 #undef DEFINE_ALIAS_ARGS |
| 1197 | 1199 |
| 1198 #undef FLAG_MODE_DECLARE | 1200 #undef FLAG_MODE_DECLARE |
| 1199 #undef FLAG_MODE_DEFINE | 1201 #undef FLAG_MODE_DEFINE |
| 1200 #undef FLAG_MODE_DEFINE_DEFAULTS | 1202 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1201 #undef FLAG_MODE_META | 1203 #undef FLAG_MODE_META |
| 1202 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1204 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1203 | 1205 |
| 1204 #undef COMMA | 1206 #undef COMMA |
| OLD | NEW |