• Andreas Haas's avatar
    [wasm][liftoff] Allow reftype results, and implement ref.null · 289c15eb
    Andreas Haas authored
    This CL is the start to implement reference types support in Liftoff.
    As a first step this CL implements the ref.null instruction, and allows
    reference types as return values. This allows register allocation to be
    extended to support reference types, and also adds an easy way to get a
    reference type value for tests. Additionally with ref.null we don't have
    to worry about garbage collection because 'null' is an immovable object
    and therefore does not have to be scanned by the GC.
    
    R=thibaudm@chromium.org
    
    Bug: v8:7581
    Change-Id: I5785dcf522c0d9881e1386f2d8b5d8560a16225c
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2352784
    Commit-Queue: Andreas Haas <ahaas@chromium.org>
    Reviewed-by: 's avatarThibaud Michaud <thibaudm@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#69556}
    289c15eb
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...