• ahaas's avatar
    [wasm] Call a runtime function for a MemorySize instruction. · 2c12a9a4
    ahaas authored
    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
    
    Review-Url: https://codereview.chromium.org/2386183004
    Cr-Commit-Position: refs/heads/master@{#39972}
    2c12a9a4
regression-651961.js 710 Bytes