• mtrofin's avatar
    [wasm] Compilation/Instantiation pipeline works off module object · 8e5ac62d
    mtrofin authored
    Moved the compilation/instantiation pipeline to work off the
    module object (JSObject), making the compiled module data (the
    FixedArray) an implementation detail. This:
    - simplifies the code by removing duplicate decode->compile->instantiate
    sequences
    - sets up the stage for "dressing up" the runtime model with
    stronger typed APIs
    - helps relanding this CL: https://codereview.chromium.org/2305903002/.
      It turns out that GCs during the cloning/instantiation events cause
    trouble, and centering the source of truth on the module object helps
    address this issue.
    
    In the process, clarified cctest setup for wasm-capable isolates,
    and changed signatures for consistency (using ModuleOrigin througout).
    
    BUG=
    
    Review-Url: https://codereview.chromium.org/2320723005
    Cr-Commit-Position: refs/heads/master@{#39360}
    8e5ac62d
Name
Last commit
Last update
..
OWNERS Loading commit data...
test-run-wasm-64.cc Loading commit data...
test-run-wasm-asmjs.cc Loading commit data...
test-run-wasm-interpreter.cc Loading commit data...
test-run-wasm-js.cc Loading commit data...
test-run-wasm-module.cc Loading commit data...
test-run-wasm-relocation.cc Loading commit data...
test-run-wasm-simd.cc Loading commit data...
test-run-wasm-try-catch.cc Loading commit data...
test-run-wasm.cc Loading commit data...
test-signatures.h Loading commit data...
test-wasm-function-name-table.cc Loading commit data...
test-wasm-stack.cc Loading commit data...
test-wasm-trap-position.cc Loading commit data...
wasm-module-runner.cc Loading commit data...
wasm-module-runner.h Loading commit data...
wasm-run-utils.h Loading commit data...