Index: src/flag-definitions.h |
diff --git a/src/flag-definitions.h b/src/flag-definitions.h |
index 09608e118d7fc330444b9d38d8d9bc51cb292f34..03ce2132418b7ec902b3fc83efba25d78aeec3e3 100644 |
--- a/src/flag-definitions.h |
+++ b/src/flag-definitions.h |
@@ -534,6 +534,8 @@ 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_BOOL(wasm_async_compilation, false, |
+ "enable actual asynchronous compilation for WebAssembly.compile") |
// Parallel compilation confuses turbo_stats, force single threaded. |
DEFINE_VALUE_IMPLICATION(turbo_stats, wasm_num_compilation_tasks, 0) |
DEFINE_UINT(wasm_max_mem_pages, v8::internal::wasm::kV8MaxWasmMemoryPages, |