diff options
author | Alon Zakai <azakai@google.com> | 2021-03-30 12:32:42 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-30 12:32:42 -0700 |
commit | 38c119358b96d30b2af6c0ba29aa08f610fe2f73 (patch) | |
tree | 248bc8df9b85f6bb8748a5360f26b504b20ef417 /test/passes/asyncify_pass-arg=asyncify-addlist@foo_pass-arg=asyncify-ignore-indirect.wast | |
parent | 2b62a65d7dcf91e1971048012a842f83e54761af (diff) | |
download | binaryen-38c119358b96d30b2af6c0ba29aa08f610fe2f73.tar.gz binaryen-38c119358b96d30b2af6c0ba29aa08f610fe2f73.tar.bz2 binaryen-38c119358b96d30b2af6c0ba29aa08f610fe2f73.zip |
[Wasm GC] Optimize RefIs and RefAs when the type lets us (#3725)
This is similar to the optimization of BrOn in #3719 and #3724. When the
type tells us the kind of input we have, we can tell at compile time what
result we'll get, like ref.is_func of something with type (ref func) will
always return 1, etc.
There are some code size and perf tradeoffs that should be looked into
more and are marked as TODOs.
Diffstat (limited to 'test/passes/asyncify_pass-arg=asyncify-addlist@foo_pass-arg=asyncify-ignore-indirect.wast')
0 files changed, 0 insertions, 0 deletions