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
Committed: https://crrev.com/aa93e6ca95123ccd176c392a2b5b8772ee5eb5c4
Cr-Original-Commit-Position: refs/heads/master@{#39972}
Cr-Commit-Position: refs/heads/master@{#39980}
Patch Set 1 #Patch Set 2 : test-run-wasm cannot do runtime calls #Patch Set 3 : Adjust to the refactoring of GrowMemory. #
Total comments: 1
Patch Set 4 : Comments addressed #
Messages
Total messages: 35 (23 generated)
|