| 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 441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 452 DEFINE_BOOL(turbo_stress_loop_peeling, false, | 452 DEFINE_BOOL(turbo_stress_loop_peeling, false, |
| 453 "stress loop peeling optimization") | 453 "stress loop peeling optimization") |
| 454 DEFINE_BOOL(turbo_cf_optimization, true, "optimize control flow in TurboFan") | 454 DEFINE_BOOL(turbo_cf_optimization, true, "optimize control flow in TurboFan") |
| 455 DEFINE_BOOL(turbo_frame_elision, true, "elide frames in TurboFan") | 455 DEFINE_BOOL(turbo_frame_elision, true, "elide frames in TurboFan") |
| 456 DEFINE_BOOL(turbo_cache_shared_code, true, "cache context-independent code") | 456 DEFINE_BOOL(turbo_cache_shared_code, true, "cache context-independent code") |
| 457 DEFINE_BOOL(turbo_preserve_shared_code, false, "keep context-independent code") | 457 DEFINE_BOOL(turbo_preserve_shared_code, false, "keep context-independent code") |
| 458 | 458 |
| 459 #if defined(V8_WASM) | 459 #if defined(V8_WASM) |
| 460 // Flags for native WebAssembly. | 460 // Flags for native WebAssembly. |
| 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_compiler, false, "trace compiling of wasm code") | 463 DEFINE_BOOL(trace_wasm_compiler, false, "trace compiling of wasm code") |
| 463 DEFINE_BOOL(wasm_break_on_decoder_error, false, | 464 DEFINE_BOOL(wasm_break_on_decoder_error, false, |
| 464 "debug break when wasm decoder encounters an error") | 465 "debug break when wasm decoder encounters an error") |
| 465 #endif | 466 #endif |
| 466 | 467 |
| 467 DEFINE_INT(typed_array_max_size_in_heap, 64, | 468 DEFINE_INT(typed_array_max_size_in_heap, 64, |
| 468 "threshold for in-heap typed array") | 469 "threshold for in-heap typed array") |
| 469 | 470 |
| 470 // Profiler flags. | 471 // Profiler flags. |
| 471 DEFINE_INT(frame_count, 1, "number of stack frames inspected by the profiler") | 472 DEFINE_INT(frame_count, 1, "number of stack frames inspected by the profiler") |
| (...skipping 638 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1110 #undef DEFINE_ALIAS_FLOAT | 1111 #undef DEFINE_ALIAS_FLOAT |
| 1111 #undef DEFINE_ALIAS_ARGS | 1112 #undef DEFINE_ALIAS_ARGS |
| 1112 | 1113 |
| 1113 #undef FLAG_MODE_DECLARE | 1114 #undef FLAG_MODE_DECLARE |
| 1114 #undef FLAG_MODE_DEFINE | 1115 #undef FLAG_MODE_DEFINE |
| 1115 #undef FLAG_MODE_DEFINE_DEFAULTS | 1116 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1116 #undef FLAG_MODE_META | 1117 #undef FLAG_MODE_META |
| 1117 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1118 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1118 | 1119 |
| 1119 #undef COMMA | 1120 #undef COMMA |
| OLD | NEW |