summaryrefslogtreecommitdiff
path: root/src/wasm-emscripten.h
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2023-07-26 13:55:24 -0700
committerGitHub <noreply@github.com>2023-07-26 13:55:24 -0700
commitf2a8b86725c0d1ee3890dc80f8d3b4c094db38ac (patch)
tree8dc63693a898ec9b93c5e900f901f4f97b414fdb /src/wasm-emscripten.h
parentf701d96b5412b6e4db856081acd7431faeafdb98 (diff)
downloadbinaryen-f2a8b86725c0d1ee3890dc80f8d3b4c094db38ac.tar.gz
binaryen-f2a8b86725c0d1ee3890dc80f8d3b4c094db38ac.tar.bz2
binaryen-f2a8b86725c0d1ee3890dc80f8d3b4c094db38ac.zip
TypeRefining: Add casts when we must (#5840)
See the example in the code and test for a situation that requires this for validation. To fix validation we add a cast. That should practically always be removed by later optimizations, and the fact it took the fuzzer this long to even find such a situation also adds confidence that this won't be adding overhead (and in this situation, the optimizer will definitely remove the cast).
Diffstat (limited to 'src/wasm-emscripten.h')
0 files changed, 0 insertions, 0 deletions