• Clemens Hammacher's avatar
    [wasm] Share code of js-to-wasm wrappers · 81548524
    Clemens Hammacher authored
    Instead of creating a separate code object per exported function, we
    can share the code per signature, and load the function index from the
    {WasmExportedFunction} object which is being passed as an argument
    anyway.
    This greatly reduces instantiation time for modules with a lot of
    exports.
    As a next step, we could even share the code across instances, or (with
    more work) across isolates.
    
    R=mstarzinger@chromium.org
    
    Bug: chromium:860491
    Change-Id: I6438065b2de0df59dce980fb52408a0f475144b3
    Reviewed-on: https://chromium-review.googlesource.com/1127660
    Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
    Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#54299}
    81548524
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
fuzzer Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
test262 Loading commit data...
torque Loading commit data...
unittests Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...