Commit f2821cfb authored by Vicky Kontoura's avatar Vicky Kontoura Committed by Commit Bot

[wasm] Disable use of the generic js-to-wasm wrapper for asm.js modules

This CL temporarily disables use of the generic js-to-wasm wrapper for
asm.js modules, since the generic js-to-wasm wrapper does not fully
support them yet.

Bug: v8:10982
Change-Id: I79a489075c689549b07bf1436c6115edb147cbe5
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2554602Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
Commit-Queue: Vicky Kontoura <vkont@google.com>
Cr-Commit-Position: refs/heads/master@{#71370}
parent 95052803
......@@ -298,7 +298,7 @@ JSToWasmWrapperCompilationUnit::JSToWasmWrapperCompilationUnit(
: is_import_(is_import),
sig_(sig),
use_generic_wrapper_(allow_generic && UseGenericWrapper(sig) &&
!is_import),
!is_import && !is_asmjs_module(module)),
job_(use_generic_wrapper_ ? nullptr
: compiler::NewJSToWasmCompilationJob(
isolate, wasm_engine, sig, module,
......
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