summaryrefslogtreecommitdiff
path: root/src/binaryen-c.cpp
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2021-04-13 15:29:13 -0700
committerGitHub <noreply@github.com>2021-04-13 15:29:13 -0700
commitd321458d57e6977ceaba90099e80b80cf6d472ed (patch)
tree4c57ee8d9f6828ab588b925c71e9dd543f669322 /src/binaryen-c.cpp
parentb0af95200a37d76eccf285dcb45b4ed6162212d0 (diff)
downloadbinaryen-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/binaryen-c.cpp')
0 files changed, 0 insertions, 0 deletions