Commit 15605fe7 authored by Ulan Degenbaev's avatar Ulan Degenbaev Committed by Commit Bot

[wasm] Disable async compilation in single-threaded mode.

Async compilation relies on background tasks, which are not available
in single-threaded mode.

Change-Id: Id47e7f5bd1406a5323d6a770936a23b6839e7936
Reviewed-on: https://chromium-review.googlesource.com/880583Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#50789}
parent c1c74411
......@@ -1274,6 +1274,7 @@ DEFINE_BOOL(predictable, false, "enable predictable mode")
DEFINE_IMPLICATION(predictable, single_threaded)
DEFINE_NEG_IMPLICATION(predictable, memory_reducer)
DEFINE_VALUE_IMPLICATION(single_threaded, wasm_num_compilation_tasks, 0)
DEFINE_NEG_IMPLICATION(single_threaded, wasm_async_compilation)
//
// Threading related flags.
......
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