• Clemens Hammacher's avatar
    Reland "[wasm] Fix importing wasm-lazy-compile stubs" · 6802775e
    Clemens Hammacher authored
    This is a reland of 77b0baa6.
    
    Original change's description:
    > [wasm] Fix importing wasm-lazy-compile stubs
    >
    > If two modules use lazy compilation, and one imports a function of
    > another, we are unwrapping the js-to-wasm wrapper of the export. This
    > was failing so far, because during unwrapping we did not find the wasm
    > code.
    > This CL fixes this by also recognizing WasmCompileLazy stubs as "wasm
    > code".
    >
    > R=ahaas@chromium.org
    >
    > Bug: chromium:779569, v8:5991
    > Change-Id: If2260c3721e3746a7635b9d0182fd520df2fb773
    > Reviewed-on: https://chromium-review.googlesource.com/771672
    > Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
    > Reviewed-by: Andreas Haas <ahaas@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#49405}
    
    Bug: chromium:779569, v8:5991
    Change-Id: I4818e933467bd5a040f1514b8fc18db219a092c7
    Reviewed-on: https://chromium-review.googlesource.com/774538Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
    Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#49426}
    6802775e
module-compiler.cc 145 KB