Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(324)

Side by Side Diff: src/flag-definitions.h

Issue 2648223004: [wasm] Change the constant kV8MaxWasmTableSize to a command line flag. (Closed)
Patch Set: Use the wasm-limits.h values in flag-definitions.h Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/flags.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 485 matching lines...) Expand 10 before | Expand all | Expand 10 after
496 DEFINE_IMPLICATION(minimal, ignition) 496 DEFINE_IMPLICATION(minimal, ignition)
497 DEFINE_NEG_IMPLICATION(minimal, crankshaft) 497 DEFINE_NEG_IMPLICATION(minimal, crankshaft)
498 DEFINE_NEG_IMPLICATION(minimal, use_ic) 498 DEFINE_NEG_IMPLICATION(minimal, use_ic)
499 499
500 // Flags for native WebAssembly. 500 // Flags for native WebAssembly.
501 DEFINE_BOOL(expose_wasm, true, "expose WASM interface to JavaScript") 501 DEFINE_BOOL(expose_wasm, true, "expose WASM interface to JavaScript")
502 DEFINE_BOOL(wasm_disable_structured_cloning, false, 502 DEFINE_BOOL(wasm_disable_structured_cloning, false,
503 "disable WASM structured cloning") 503 "disable WASM structured cloning")
504 DEFINE_INT(wasm_num_compilation_tasks, 10, 504 DEFINE_INT(wasm_num_compilation_tasks, 10,
505 "number of parallel compilation tasks for wasm") 505 "number of parallel compilation tasks for wasm")
506 DEFINE_UINT(wasm_max_mem_pages, 16384, "maximum memory size of a wasm instance") 506 DEFINE_UINT(wasm_max_mem_pages, v8::internal::wasm::kV8MaxWasmMemoryPages,
507 "maximum memory size of a wasm instance")
508 DEFINE_UINT(wasm_max_table_size, v8::internal::wasm::kV8MaxWasmTableSize,
509 "maximum table size of a wasm instance")
507 DEFINE_BOOL(trace_wasm_encoder, false, "trace encoding of wasm code") 510 DEFINE_BOOL(trace_wasm_encoder, false, "trace encoding of wasm code")
508 DEFINE_BOOL(trace_wasm_decoder, false, "trace decoding of wasm code") 511 DEFINE_BOOL(trace_wasm_decoder, false, "trace decoding of wasm code")
509 DEFINE_BOOL(trace_wasm_decode_time, false, "trace decoding time of wasm code") 512 DEFINE_BOOL(trace_wasm_decode_time, false, "trace decoding time of wasm code")
510 DEFINE_BOOL(trace_wasm_compiler, false, "trace compiling of wasm code") 513 DEFINE_BOOL(trace_wasm_compiler, false, "trace compiling of wasm code")
511 DEFINE_BOOL(trace_wasm_interpreter, false, "trace interpretation of wasm code") 514 DEFINE_BOOL(trace_wasm_interpreter, false, "trace interpretation of wasm code")
512 DEFINE_INT(trace_wasm_ast_start, 0, 515 DEFINE_INT(trace_wasm_ast_start, 0,
513 "start function for WASM AST trace (inclusive)") 516 "start function for WASM AST trace (inclusive)")
514 DEFINE_INT(trace_wasm_ast_end, 0, "end function for WASM AST trace (exclusive)") 517 DEFINE_INT(trace_wasm_ast_end, 0, "end function for WASM AST trace (exclusive)")
515 DEFINE_INT(trace_wasm_text_start, 0, 518 DEFINE_INT(trace_wasm_text_start, 0,
516 "start function for WASM text generation (inclusive)") 519 "start function for WASM text generation (inclusive)")
(...skipping 770 matching lines...) Expand 10 before | Expand all | Expand 10 after
1287 #undef DEFINE_ALIAS_FLOAT 1290 #undef DEFINE_ALIAS_FLOAT
1288 #undef DEFINE_ALIAS_ARGS 1291 #undef DEFINE_ALIAS_ARGS
1289 1292
1290 #undef FLAG_MODE_DECLARE 1293 #undef FLAG_MODE_DECLARE
1291 #undef FLAG_MODE_DEFINE 1294 #undef FLAG_MODE_DEFINE
1292 #undef FLAG_MODE_DEFINE_DEFAULTS 1295 #undef FLAG_MODE_DEFINE_DEFAULTS
1293 #undef FLAG_MODE_META 1296 #undef FLAG_MODE_META
1294 #undef FLAG_MODE_DEFINE_IMPLICATIONS 1297 #undef FLAG_MODE_DEFINE_IMPLICATIONS
1295 1298
1296 #undef COMMA 1299 #undef COMMA
OLDNEW
« no previous file with comments | « no previous file | src/flags.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698