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

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

This CL re-enables use of the generic js-to-wasm wrapper for asm.js
modules.

Bug: v8:10982
Change-Id: I0aa6cd9387bfd7b3fc3cab18f09c7f78ec24fbb5
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2562238Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
Commit-Queue: Vicky Kontoura <vkont@google.com>
Cr-Commit-Position: refs/heads/master@{#71426}
parent 14c5b0ae
......@@ -298,7 +298,7 @@ JSToWasmWrapperCompilationUnit::JSToWasmWrapperCompilationUnit(
: is_import_(is_import),
sig_(sig),
use_generic_wrapper_(allow_generic && UseGenericWrapper(sig) &&
!is_import && !is_asmjs_module(module)),
!is_import),
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