| 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 455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 466 DEFINE_BOOL(turbo_escape, false, "enable escape analysis") | 466 DEFINE_BOOL(turbo_escape, false, "enable escape analysis") |
| 467 DEFINE_BOOL(trace_turbo_escape, false, "enable tracing in escape analysis") | 467 DEFINE_BOOL(trace_turbo_escape, false, "enable tracing in escape analysis") |
| 468 DEFINE_BOOL(turbo_instruction_scheduling, false, | 468 DEFINE_BOOL(turbo_instruction_scheduling, false, |
| 469 "enable instruction scheduling in TurboFan") | 469 "enable instruction scheduling in TurboFan") |
| 470 | 470 |
| 471 // Flags for native WebAssembly. | 471 // Flags for native WebAssembly. |
| 472 DEFINE_BOOL(expose_wasm, false, "expose WASM interface to JavaScript") | 472 DEFINE_BOOL(expose_wasm, false, "expose WASM interface to JavaScript") |
| 473 DEFINE_BOOL(trace_wasm_decoder, false, "trace decoding of wasm code") | 473 DEFINE_BOOL(trace_wasm_decoder, false, "trace decoding of wasm code") |
| 474 DEFINE_BOOL(trace_wasm_decode_time, false, "trace decoding time of wasm code") | 474 DEFINE_BOOL(trace_wasm_decode_time, false, "trace decoding time of wasm code") |
| 475 DEFINE_BOOL(trace_wasm_compiler, false, "trace compiling of wasm code") | 475 DEFINE_BOOL(trace_wasm_compiler, false, "trace compiling of wasm code") |
| 476 DEFINE_BOOL(trace_wasm_ast, false, "dump AST after WASM decode") |
| 476 DEFINE_BOOL(wasm_break_on_decoder_error, false, | 477 DEFINE_BOOL(wasm_break_on_decoder_error, false, |
| 477 "debug break when wasm decoder encounters an error") | 478 "debug break when wasm decoder encounters an error") |
| 478 | 479 |
| 479 DEFINE_INT(typed_array_max_size_in_heap, 64, | 480 DEFINE_INT(typed_array_max_size_in_heap, 64, |
| 480 "threshold for in-heap typed array") | 481 "threshold for in-heap typed array") |
| 481 | 482 |
| 482 // Profiler flags. | 483 // Profiler flags. |
| 483 DEFINE_INT(frame_count, 1, "number of stack frames inspected by the profiler") | 484 DEFINE_INT(frame_count, 1, "number of stack frames inspected by the profiler") |
| 484 // 0x1800 fits in the immediate field of an ARM instruction. | 485 // 0x1800 fits in the immediate field of an ARM instruction. |
| 485 DEFINE_INT(interrupt_budget, 0x1800, | 486 DEFINE_INT(interrupt_budget, 0x1800, |
| (...skipping 647 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1133 #undef DEFINE_ALIAS_FLOAT | 1134 #undef DEFINE_ALIAS_FLOAT |
| 1134 #undef DEFINE_ALIAS_ARGS | 1135 #undef DEFINE_ALIAS_ARGS |
| 1135 | 1136 |
| 1136 #undef FLAG_MODE_DECLARE | 1137 #undef FLAG_MODE_DECLARE |
| 1137 #undef FLAG_MODE_DEFINE | 1138 #undef FLAG_MODE_DEFINE |
| 1138 #undef FLAG_MODE_DEFINE_DEFAULTS | 1139 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1139 #undef FLAG_MODE_META | 1140 #undef FLAG_MODE_META |
| 1140 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1141 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1141 | 1142 |
| 1142 #undef COMMA | 1143 #undef COMMA |
| OLD | NEW |