• Andreas Haas's avatar
    [wasm] Refactor WasmTableObject::Grow · c7627bbc
    Andreas Haas authored
    This CL refactors WasmTableObject::Grow to make it usable for the
    table.grow instruction of WebAssembly.
    
    The refactored version of WasmTableObject::Grow does additionally:
    * Check if growing is possible
    * Grow the FixedArray backing store of the table and initialize the new
      fields.
    * Calculate the return value of WasmTableObject::Grow.
    
    R=jkummerow@chromium.org
    
    Bug: v8:7581
    Change-Id: Ic6c867b96c30bd987ea281d5b3515a04bc5a3900
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1588136
    Commit-Queue: Andreas Haas <ahaas@chromium.org>
    Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#61112}
    c7627bbc
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
fuzzer Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
test262 Loading commit data...
torque Loading commit data...
unittests Loading commit data...
wasm-js Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
OWNERS Loading commit data...