• Andreas Haas's avatar
    [wasm][liftoff] Fix index in the initialization of locals · 18534a42
    Andreas Haas authored
    There was a bug that only the last local with a reference type got
    initialized to null, all other locals kept the initial value of 0. This
    CL fixes this bug.
    
    Additionally this CL optimizes the code slightly. Before this CL, the
    null reference was loaded from the instance for every local with
    reference type. Now the null reference is cached after the first load
    and then used for all other locals.
    
    R=thibaudm@chromium.org
    
    Bug: chromium:1167587
    Change-Id: Ic11fc76b650e6daa029491154744fc132778f70d
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2632695
    Commit-Queue: Andreas Haas <ahaas@chromium.org>
    Reviewed-by: 's avatarThibaud Michaud <thibaudm@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#72139}
    18534a42
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
debugging Loading commit data...
fuzzer Loading commit data...
fuzzilli 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...
test262 Loading commit data...
torque Loading commit data...
unittests Loading commit data...
wasm-api-tests 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...