summaryrefslogtreecommitdiff
path: root/test/passes/extract-function_pass-arg=extract@foo.wast
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2021-05-10 15:07:05 -0700
committerGitHub <noreply@github.com>2021-05-10 15:07:05 -0700
commit5499ef491a264b02d24180f5dad824feec52074a (patch)
treed16bf32d66f65df10b18a8dd8f53aeae84bf1df2 /test/passes/extract-function_pass-arg=extract@foo.wast
parent75c8584997e7e09a20c7ebba1802461362b67a7b (diff)
downloadbinaryen-5499ef491a264b02d24180f5dad824feec52074a.tar.gz
binaryen-5499ef491a264b02d24180f5dad824feec52074a.tar.bz2
binaryen-5499ef491a264b02d24180f5dad824feec52074a.zip
[Wasm GC] Fix casting code in interpreter (#3873)
The logic there would construct the cast value separately for functions and data (as we must), and then in an attempt to share code, would then check if the cast succeed or not (and if not, do nothing with the cast value). But this was wrong, as in some weird casts (like a struct to a function) we cannot construct a valid cast value, and we error there. Instead, check if the cast works first, once we know enough to do so, and only then construct the cast value if so.
Diffstat (limited to 'test/passes/extract-function_pass-arg=extract@foo.wast')
0 files changed, 0 insertions, 0 deletions