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 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
491 // Flags to help platform porters | 491 // Flags to help platform porters |
492 DEFINE_BOOL(minimal, false, | 492 DEFINE_BOOL(minimal, false, |
493 "simplifies execution model to make porting " | 493 "simplifies execution model to make porting " |
494 "easier (e.g. always use Ignition, never use Crankshaft") | 494 "easier (e.g. always use Ignition, never use Crankshaft") |
495 DEFINE_IMPLICATION(minimal, ignition) | 495 DEFINE_IMPLICATION(minimal, ignition) |
496 DEFINE_NEG_IMPLICATION(minimal, crankshaft) | 496 DEFINE_NEG_IMPLICATION(minimal, crankshaft) |
497 DEFINE_NEG_IMPLICATION(minimal, use_ic) | 497 DEFINE_NEG_IMPLICATION(minimal, use_ic) |
498 | 498 |
499 // Flags for native WebAssembly. | 499 // Flags for native WebAssembly. |
500 DEFINE_BOOL(expose_wasm, true, "expose WASM interface to JavaScript") | 500 DEFINE_BOOL(expose_wasm, true, "expose WASM interface to JavaScript") |
| 501 DEFINE_BOOL(wasm_disable_structured_cloning, false, |
| 502 "disable WASM structured cloning") |
501 DEFINE_INT(wasm_num_compilation_tasks, 10, | 503 DEFINE_INT(wasm_num_compilation_tasks, 10, |
502 "number of parallel compilation tasks for wasm") | 504 "number of parallel compilation tasks for wasm") |
503 DEFINE_BOOL(trace_wasm_encoder, false, "trace encoding of wasm code") | 505 DEFINE_BOOL(trace_wasm_encoder, false, "trace encoding of wasm code") |
504 DEFINE_BOOL(trace_wasm_decoder, false, "trace decoding of wasm code") | 506 DEFINE_BOOL(trace_wasm_decoder, false, "trace decoding of wasm code") |
505 DEFINE_BOOL(trace_wasm_decode_time, false, "trace decoding time of wasm code") | 507 DEFINE_BOOL(trace_wasm_decode_time, false, "trace decoding time of wasm code") |
506 DEFINE_BOOL(trace_wasm_compiler, false, "trace compiling of wasm code") | 508 DEFINE_BOOL(trace_wasm_compiler, false, "trace compiling of wasm code") |
507 DEFINE_BOOL(trace_wasm_interpreter, false, "trace interpretation of wasm code") | 509 DEFINE_BOOL(trace_wasm_interpreter, false, "trace interpretation of wasm code") |
508 DEFINE_INT(trace_wasm_ast_start, 0, | 510 DEFINE_INT(trace_wasm_ast_start, 0, |
509 "start function for WASM AST trace (inclusive)") | 511 "start function for WASM AST trace (inclusive)") |
510 DEFINE_INT(trace_wasm_ast_end, 0, "end function for WASM AST trace (exclusive)") | 512 DEFINE_INT(trace_wasm_ast_end, 0, "end function for WASM AST trace (exclusive)") |
(...skipping 773 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1284 #undef DEFINE_ALIAS_FLOAT | 1286 #undef DEFINE_ALIAS_FLOAT |
1285 #undef DEFINE_ALIAS_ARGS | 1287 #undef DEFINE_ALIAS_ARGS |
1286 | 1288 |
1287 #undef FLAG_MODE_DECLARE | 1289 #undef FLAG_MODE_DECLARE |
1288 #undef FLAG_MODE_DEFINE | 1290 #undef FLAG_MODE_DEFINE |
1289 #undef FLAG_MODE_DEFINE_DEFAULTS | 1291 #undef FLAG_MODE_DEFINE_DEFAULTS |
1290 #undef FLAG_MODE_META | 1292 #undef FLAG_MODE_META |
1291 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1293 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1292 | 1294 |
1293 #undef COMMA | 1295 #undef COMMA |
OLD | NEW |