• clemensh's avatar
    [wasm] Allocate a single script per wasm module · 32077e01
    clemensh authored
    Before, we allocated one script per function per instance, and each
    script referenced the wasm instance and the function index. Now we only
    allocate one script per compiled wasm module, so the script also only
    references this WasmCompiledModule, which causes changes to many interfaces.
    
    Instead of fixing the disassemble API only used via debug.js, I decided
    to drop it for now. Some later CL will reintroduce it via
    DebugInterface.
    
    BUG=v8:5530,chromium:659715
    R=yangguo@chromium.org, titzer@chromium.org
    CC=jgruber@chromium.org
    
    Review-Url: https://codereview.chromium.org/2493823003
    Cr-Commit-Position: refs/heads/master@{#41004}
    32077e01
messages.h 42.2 KB