• ahaas's avatar
    Revert of [wasm] Call a runtime function for a MemorySize instruction.... · 9701e791
    ahaas authored
    Revert of [wasm] Call a runtime function for a MemorySize instruction. (patchset #2 id:20001 of https://codereview.chromium.org/2386183004/ )
    
    Reason for revert:
    Patch problem
    
    Original issue's description:
    > [wasm] Call a runtime function for a MemorySize instruction.
    >
    > The implementation of MemorySize with RelocatableInt32Constants is
    > problematic if MemorySize is placed close to a GrowMemory instruction in
    > the code. The use of a runtime function guarantees that the order in
    > which MemorySize and GrowMemory is executed is correct.
    >
    > R=titzer@chromium.org
    > BUG=chromium:651961
    > TEST=mjsunit/regress/wasm/regression-651961
    >
    > Committed: https://crrev.com/2c12a9a42d454a36fcd2931fa458d72832eeb689
    > Cr-Commit-Position: refs/heads/master@{#39972}
    
    TBR=titzer@chromium.org
    # Skipping CQ checks because original CL landed less than 1 days ago.
    NOPRESUBMIT=true
    NOTREECHECKS=true
    NOTRY=true
    BUG=chromium:651961
    
    Review-Url: https://codereview.chromium.org/2391223002
    Cr-Commit-Position: refs/heads/master@{#39973}
    9701e791
runtime.h 45.6 KB