diff options
author | Alon Zakai <azakai@google.com> | 2021-04-13 15:29:13 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-13 15:29:13 -0700 |
commit | d321458d57e6977ceaba90099e80b80cf6d472ed (patch) | |
tree | 4c57ee8d9f6828ab588b925c71e9dd543f669322 /src/wasm2js.h | |
parent | b0af95200a37d76eccf285dcb45b4ed6162212d0 (diff) | |
download | binaryen-d321458d57e6977ceaba90099e80b80cf6d472ed.tar.gz binaryen-d321458d57e6977ceaba90099e80b80cf6d472ed.tar.bz2 binaryen-d321458d57e6977ceaba90099e80b80cf6d472ed.zip |
[Wasm GC] Full precompute support for GC (#3803)
The precompute pass ignored all reference types, but that was overly
pessimistic: we can precompute some of them, namely a null and a
reference to a function are fully precomputable, etc.
To allow that to work, add missing integration in getFallthrough as well.
With this, we can precompute quite a lot of field accesses in the existing
-Oz testcase, as can be seen from the output. That testcase runs
--fuzz-exec so it prints out all those logged values, proving they have
not changed.
Diffstat (limited to 'src/wasm2js.h')
0 files changed, 0 insertions, 0 deletions