| 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 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 521 DEFINE_NEG_IMPLICATION(minimal, use_ic) | 521 DEFINE_NEG_IMPLICATION(minimal, use_ic) |
| 522 | 522 |
| 523 // Flags for native WebAssembly. | 523 // Flags for native WebAssembly. |
| 524 DEFINE_BOOL(expose_wasm, true, "expose WASM interface to JavaScript") | 524 DEFINE_BOOL(expose_wasm, true, "expose WASM interface to JavaScript") |
| 525 DEFINE_BOOL(assume_asmjs_origin, false, | 525 DEFINE_BOOL(assume_asmjs_origin, false, |
| 526 "force wasm decoder to assume input is internal asm-wasm format") | 526 "force wasm decoder to assume input is internal asm-wasm format") |
| 527 DEFINE_BOOL(wasm_disable_structured_cloning, false, | 527 DEFINE_BOOL(wasm_disable_structured_cloning, false, |
| 528 "disable WASM structured cloning") | 528 "disable WASM structured cloning") |
| 529 DEFINE_INT(wasm_num_compilation_tasks, 10, | 529 DEFINE_INT(wasm_num_compilation_tasks, 10, |
| 530 "number of parallel compilation tasks for wasm") | 530 "number of parallel compilation tasks for wasm") |
| 531 // Parallel compilation confuses turbo_stats, force single threaded. |
| 532 DEFINE_VALUE_IMPLICATION(turbo_stats, wasm_num_compilation_tasks, 0) |
| 531 DEFINE_UINT(wasm_max_mem_pages, v8::internal::wasm::kV8MaxWasmMemoryPages, | 533 DEFINE_UINT(wasm_max_mem_pages, v8::internal::wasm::kV8MaxWasmMemoryPages, |
| 532 "maximum memory size of a wasm instance") | 534 "maximum memory size of a wasm instance") |
| 533 DEFINE_UINT(wasm_max_table_size, v8::internal::wasm::kV8MaxWasmTableSize, | 535 DEFINE_UINT(wasm_max_table_size, v8::internal::wasm::kV8MaxWasmTableSize, |
| 534 "maximum table size of a wasm instance") | 536 "maximum table size of a wasm instance") |
| 535 DEFINE_BOOL(trace_wasm_encoder, false, "trace encoding of wasm code") | 537 DEFINE_BOOL(trace_wasm_encoder, false, "trace encoding of wasm code") |
| 536 DEFINE_BOOL(trace_wasm_decoder, false, "trace decoding of wasm code") | 538 DEFINE_BOOL(trace_wasm_decoder, false, "trace decoding of wasm code") |
| 537 DEFINE_BOOL(trace_wasm_decode_time, false, "trace decoding time of wasm code") | 539 DEFINE_BOOL(trace_wasm_decode_time, false, "trace decoding time of wasm code") |
| 538 DEFINE_BOOL(trace_wasm_compiler, false, "trace compiling of wasm code") | 540 DEFINE_BOOL(trace_wasm_compiler, false, "trace compiling of wasm code") |
| 539 DEFINE_BOOL(trace_wasm_interpreter, false, "trace interpretation of wasm code") | 541 DEFINE_BOOL(trace_wasm_interpreter, false, "trace interpretation of wasm code") |
| 540 DEFINE_INT(trace_wasm_ast_start, 0, | 542 DEFINE_INT(trace_wasm_ast_start, 0, |
| (...skipping 794 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1335 #undef DEFINE_ALIAS_FLOAT | 1337 #undef DEFINE_ALIAS_FLOAT |
| 1336 #undef DEFINE_ALIAS_ARGS | 1338 #undef DEFINE_ALIAS_ARGS |
| 1337 | 1339 |
| 1338 #undef FLAG_MODE_DECLARE | 1340 #undef FLAG_MODE_DECLARE |
| 1339 #undef FLAG_MODE_DEFINE | 1341 #undef FLAG_MODE_DEFINE |
| 1340 #undef FLAG_MODE_DEFINE_DEFAULTS | 1342 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1341 #undef FLAG_MODE_META | 1343 #undef FLAG_MODE_META |
| 1342 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1344 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1343 | 1345 |
| 1344 #undef COMMA | 1346 #undef COMMA |
| OLD | NEW |