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 516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
527 DEFINE_NEG_IMPLICATION(minimal, use_ic) | 527 DEFINE_NEG_IMPLICATION(minimal, use_ic) |
528 | 528 |
529 // Flags for native WebAssembly. | 529 // Flags for native WebAssembly. |
530 DEFINE_BOOL(expose_wasm, true, "expose WASM interface to JavaScript") | 530 DEFINE_BOOL(expose_wasm, true, "expose WASM interface to JavaScript") |
531 DEFINE_BOOL(assume_asmjs_origin, false, | 531 DEFINE_BOOL(assume_asmjs_origin, false, |
532 "force wasm decoder to assume input is internal asm-wasm format") | 532 "force wasm decoder to assume input is internal asm-wasm format") |
533 DEFINE_BOOL(wasm_disable_structured_cloning, false, | 533 DEFINE_BOOL(wasm_disable_structured_cloning, false, |
534 "disable WASM structured cloning") | 534 "disable WASM structured cloning") |
535 DEFINE_INT(wasm_num_compilation_tasks, 10, | 535 DEFINE_INT(wasm_num_compilation_tasks, 10, |
536 "number of parallel compilation tasks for wasm") | 536 "number of parallel compilation tasks for wasm") |
537 DEFINE_BOOL(wasm_async_compilation, false, | 537 DEFINE_BOOL(wasm_async_compilation, true, |
538 "enable actual asynchronous compilation for WebAssembly.compile") | 538 "enable actual asynchronous compilation for WebAssembly.compile") |
539 // Parallel compilation confuses turbo_stats, force single threaded. | 539 // Parallel compilation confuses turbo_stats, force single threaded. |
540 DEFINE_VALUE_IMPLICATION(turbo_stats, wasm_num_compilation_tasks, 0) | 540 DEFINE_VALUE_IMPLICATION(turbo_stats, wasm_num_compilation_tasks, 0) |
541 DEFINE_UINT(wasm_max_mem_pages, v8::internal::wasm::kV8MaxWasmMemoryPages, | 541 DEFINE_UINT(wasm_max_mem_pages, v8::internal::wasm::kV8MaxWasmMemoryPages, |
542 "maximum memory size of a wasm instance") | 542 "maximum memory size of a wasm instance") |
543 DEFINE_UINT(wasm_max_table_size, v8::internal::wasm::kV8MaxWasmTableSize, | 543 DEFINE_UINT(wasm_max_table_size, v8::internal::wasm::kV8MaxWasmTableSize, |
544 "maximum table size of a wasm instance") | 544 "maximum table size of a wasm instance") |
545 DEFINE_BOOL(trace_wasm_encoder, false, "trace encoding of wasm code") | 545 DEFINE_BOOL(trace_wasm_encoder, false, "trace encoding of wasm code") |
546 DEFINE_BOOL(trace_wasm_decoder, false, "trace decoding of wasm code") | 546 DEFINE_BOOL(trace_wasm_decoder, false, "trace decoding of wasm code") |
547 DEFINE_BOOL(trace_wasm_decode_time, false, "trace decoding time of wasm code") | 547 DEFINE_BOOL(trace_wasm_decode_time, false, "trace decoding time of wasm code") |
(...skipping 805 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1353 #undef DEFINE_ALIAS_FLOAT | 1353 #undef DEFINE_ALIAS_FLOAT |
1354 #undef DEFINE_ALIAS_ARGS | 1354 #undef DEFINE_ALIAS_ARGS |
1355 | 1355 |
1356 #undef FLAG_MODE_DECLARE | 1356 #undef FLAG_MODE_DECLARE |
1357 #undef FLAG_MODE_DEFINE | 1357 #undef FLAG_MODE_DEFINE |
1358 #undef FLAG_MODE_DEFINE_DEFAULTS | 1358 #undef FLAG_MODE_DEFINE_DEFAULTS |
1359 #undef FLAG_MODE_META | 1359 #undef FLAG_MODE_META |
1360 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1360 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1361 | 1361 |
1362 #undef COMMA | 1362 #undef COMMA |
OLD | NEW |