• Clemens Hammacher's avatar
    [wasm] Fix grow_memory implementation in interpreter · da778675
    Clemens Hammacher authored
    grow_memory was working from test cases, but not in combination with
    compiled code. This CL makes the effect of grow_memory executed either
    in the interpreter or compiled code always be reflected in both
    execution environments.
    It also adds a %RedirectToWasmInterpreter runtime function for testing
    this interaction.
    
    R=ahaas@chromium.org
    CC=gdeepti@chromium.org
    BUG=v8:5822
    
    Change-Id: I3e7c184c42ef655d1c30d2e0dddad7fb783455fc
    Reviewed-on: https://chromium-review.googlesource.com/463506
    Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
    Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#44297}
    da778675
wasm-module-builder.js 17.4 KB