Index: src/flag-definitions.h |
diff --git a/src/flag-definitions.h b/src/flag-definitions.h |
index 423bebf0f70922c1ded524fc921726c41dc42558..346e21a59c53e8a256c61db30d0ab94fa822f023 100644 |
--- a/src/flag-definitions.h |
+++ b/src/flag-definitions.h |
@@ -503,7 +503,10 @@ DEFINE_BOOL(wasm_disable_structured_cloning, false, |
"disable WASM structured cloning") |
DEFINE_INT(wasm_num_compilation_tasks, 10, |
"number of parallel compilation tasks for wasm") |
-DEFINE_UINT(wasm_max_mem_pages, 16384, "maximum memory size of a wasm instance") |
+DEFINE_UINT(wasm_max_mem_pages, v8::internal::wasm::kV8MaxWasmMemoryPages, |
+ "maximum memory size of a wasm instance") |
+DEFINE_UINT(wasm_max_table_size, v8::internal::wasm::kV8MaxWasmTableSize, |
+ "maximum table size of a wasm instance") |
DEFINE_BOOL(trace_wasm_encoder, false, "trace encoding of wasm code") |
DEFINE_BOOL(trace_wasm_decoder, false, "trace decoding of wasm code") |
DEFINE_BOOL(trace_wasm_decode_time, false, "trace decoding time of wasm code") |