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 483 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
494 // Flags to help platform porters | 494 // Flags to help platform porters |
495 DEFINE_BOOL(minimal, false, | 495 DEFINE_BOOL(minimal, false, |
496 "simplifies execution model to make porting " | 496 "simplifies execution model to make porting " |
497 "easier (e.g. always use Ignition, never use Crankshaft") | 497 "easier (e.g. always use Ignition, never use Crankshaft") |
498 DEFINE_IMPLICATION(minimal, ignition) | 498 DEFINE_IMPLICATION(minimal, ignition) |
499 DEFINE_NEG_IMPLICATION(minimal, crankshaft) | 499 DEFINE_NEG_IMPLICATION(minimal, crankshaft) |
500 DEFINE_NEG_IMPLICATION(minimal, use_ic) | 500 DEFINE_NEG_IMPLICATION(minimal, use_ic) |
501 | 501 |
502 // Flags for native WebAssembly. | 502 // Flags for native WebAssembly. |
503 DEFINE_BOOL(expose_wasm, true, "expose WASM interface to JavaScript") | 503 DEFINE_BOOL(expose_wasm, true, "expose WASM interface to JavaScript") |
| 504 DEFINE_BOOL(assume_asmjs_origin, false, |
| 505 "force wasm decoder to assume input is internal asm-wasm format") |
504 DEFINE_BOOL(wasm_disable_structured_cloning, false, | 506 DEFINE_BOOL(wasm_disable_structured_cloning, false, |
505 "disable WASM structured cloning") | 507 "disable WASM structured cloning") |
506 DEFINE_INT(wasm_num_compilation_tasks, 10, | 508 DEFINE_INT(wasm_num_compilation_tasks, 10, |
507 "number of parallel compilation tasks for wasm") | 509 "number of parallel compilation tasks for wasm") |
508 DEFINE_UINT(wasm_max_mem_pages, v8::internal::wasm::kV8MaxWasmMemoryPages, | 510 DEFINE_UINT(wasm_max_mem_pages, v8::internal::wasm::kV8MaxWasmMemoryPages, |
509 "maximum memory size of a wasm instance") | 511 "maximum memory size of a wasm instance") |
510 DEFINE_UINT(wasm_max_table_size, v8::internal::wasm::kV8MaxWasmTableSize, | 512 DEFINE_UINT(wasm_max_table_size, v8::internal::wasm::kV8MaxWasmTableSize, |
511 "maximum table size of a wasm instance") | 513 "maximum table size of a wasm instance") |
512 DEFINE_BOOL(trace_wasm_encoder, false, "trace encoding of wasm code") | 514 DEFINE_BOOL(trace_wasm_encoder, false, "trace encoding of wasm code") |
513 DEFINE_BOOL(trace_wasm_decoder, false, "trace decoding of wasm code") | 515 DEFINE_BOOL(trace_wasm_decoder, false, "trace decoding of wasm code") |
(...skipping 783 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1297 #undef DEFINE_ALIAS_FLOAT | 1299 #undef DEFINE_ALIAS_FLOAT |
1298 #undef DEFINE_ALIAS_ARGS | 1300 #undef DEFINE_ALIAS_ARGS |
1299 | 1301 |
1300 #undef FLAG_MODE_DECLARE | 1302 #undef FLAG_MODE_DECLARE |
1301 #undef FLAG_MODE_DEFINE | 1303 #undef FLAG_MODE_DEFINE |
1302 #undef FLAG_MODE_DEFINE_DEFAULTS | 1304 #undef FLAG_MODE_DEFINE_DEFAULTS |
1303 #undef FLAG_MODE_META | 1305 #undef FLAG_MODE_META |
1304 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1306 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1305 | 1307 |
1306 #undef COMMA | 1308 #undef COMMA |
OLD | NEW |