summaryrefslogtreecommitdiff
path: root/src/wasm.h
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2021-04-12 18:36:46 -0700
committerGitHub <noreply@github.com>2021-04-12 18:36:46 -0700
commit5c8dcfe744d759b9436a04b0267978f42e4725ab (patch)
tree74d1529167b3580578672267c7cdcee7dcc0c6bb /src/wasm.h
parent0d7dac2923f9164ca7f1450b6f394ef8fa9d8a68 (diff)
downloadbinaryen-5c8dcfe744d759b9436a04b0267978f42e4725ab.tar.gz
binaryen-5c8dcfe744d759b9436a04b0267978f42e4725ab.tar.bz2
binaryen-5c8dcfe744d759b9436a04b0267978f42e4725ab.zip
[Wasm GC] Optimize away unnecessary non-null assertions (#3800)
ref.as_non_null is not needed if the value flows into a place that traps on null anyhow. We replace a trap on one instruction with a trap on another, but we allow such things (and even changing trap types, which does not happen here).
Diffstat (limited to 'src/wasm.h')
0 files changed, 0 insertions, 0 deletions