Commit d2fd0cf1 authored by Mircea Trofin's avatar Mircea Trofin Committed by Commit Bot

[wasm] Disable async compilation.

This doesn't fix the bug, just avoids it.

Bug: v8:6436
Change-Id: I06305a9baf892e4039f2aaf353fa7edf7b7e325d
Reviewed-on: https://chromium-review.googlesource.com/513242Reviewed-by: 's avatarBrad Nelson <bradnelson@chromium.org>
Commit-Queue: Brad Nelson <bradnelson@chromium.org>
Cr-Commit-Position: refs/heads/master@{#45499}
parent e71156c3
...@@ -542,7 +542,7 @@ DEFINE_BOOL(wasm_disable_structured_cloning, false, ...@@ -542,7 +542,7 @@ DEFINE_BOOL(wasm_disable_structured_cloning, false,
"disable WASM structured cloning") "disable WASM structured cloning")
DEFINE_INT(wasm_num_compilation_tasks, 10, DEFINE_INT(wasm_num_compilation_tasks, 10,
"number of parallel compilation tasks for wasm") "number of parallel compilation tasks for wasm")
DEFINE_BOOL(wasm_async_compilation, true, DEFINE_BOOL(wasm_async_compilation, false,
"enable actual asynchronous compilation for WebAssembly.compile") "enable actual asynchronous compilation for WebAssembly.compile")
// Parallel compilation confuses turbo_stats, force single threaded. // Parallel compilation confuses turbo_stats, force single threaded.
DEFINE_VALUE_IMPLICATION(turbo_stats, wasm_num_compilation_tasks, 0) DEFINE_VALUE_IMPLICATION(turbo_stats, wasm_num_compilation_tasks, 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment