summaryrefslogtreecommitdiff
path: root/src/passes/SignaturePruning.cpp
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2023-01-12 18:06:14 -0600
committerGitHub <noreply@github.com>2023-01-13 00:06:14 +0000
commit589b3fde7511d53f2be251b5d741e422cde39ec6 (patch)
tree58128711ce3b27c142d4cbae3e6722935f58f1e2 /src/passes/SignaturePruning.cpp
parentdb083d6963d88a056ff8068aa30fa7484ac44c37 (diff)
downloadbinaryen-589b3fde7511d53f2be251b5d741e422cde39ec6.tar.gz
binaryen-589b3fde7511d53f2be251b5d741e422cde39ec6.tar.bz2
binaryen-589b3fde7511d53f2be251b5d741e422cde39ec6.zip
[Wasm GC] Optimize successful casts better (#5426)
Optimize ref.cast instructions that must succeed by simply replacing them with their child in the case where the child has a more refined type or by propagating a further removed fallthrough value with a more refined type using a tee.
Diffstat (limited to 'src/passes/SignaturePruning.cpp')
0 files changed, 0 insertions, 0 deletions