summaryrefslogtreecommitdiff
path: root/test/binaryen.js/exception-handling.js
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2023-07-07 12:25:42 -0700
committerGitHub <noreply@github.com>2023-07-07 12:25:42 -0700
commit0d3bb31a37e151a7d4dcf32575f5789f0a3818ce (patch)
tree9f2bb746054460d4fe7efd8a28087edb5e094e5d /test/binaryen.js/exception-handling.js
parentcdb7aeab40b4c522de20b242019f7e88641445d5 (diff)
downloadbinaryen-0d3bb31a37e151a7d4dcf32575f5789f0a3818ce.tar.gz
binaryen-0d3bb31a37e151a7d4dcf32575f5789f0a3818ce.tar.bz2
binaryen-0d3bb31a37e151a7d4dcf32575f5789f0a3818ce.zip
GUFA: Refine casts (#5805)
If we see (ref.cast $A) but we have inferred that a more refined type will be present there at runtime $B then we can refine the cast to (ref.cast $B). We could do the same even when a cast is not present, but that would increase code size. This optimization keeps code size constant.
Diffstat (limited to 'test/binaryen.js/exception-handling.js')
0 files changed, 0 insertions, 0 deletions