summaryrefslogtreecommitdiff
path: root/test/lit/binary
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2023-08-07 09:36:12 -0700
committerGitHub <noreply@github.com>2023-08-07 09:36:12 -0700
commit88762a2a6204cceb153b13238e17f9076259f4bd (patch)
tree5b65f4ebeff3cdae2271ad2d3f5611805bb3d9b0 /test/lit/binary
parentbcdfa72afe41746ac13d27e6d02866c7d11e7fb5 (diff)
downloadbinaryen-88762a2a6204cceb153b13238e17f9076259f4bd.tar.gz
binaryen-88762a2a6204cceb153b13238e17f9076259f4bd.tar.bz2
binaryen-88762a2a6204cceb153b13238e17f9076259f4bd.zip
Fix LinearExecutionWalker on calls (#5857)
Calls were simply not handled there, so we could think we were still in the same basic block when we were not, affecting various passes (but somehow this went unnoticed until the TNHOracle #5850 ran on some particular Java code). One existing test was affected, and two new tests are added: one for TNHOracle where I detected this, and one in OptimizeCasts which is perhaps a simpler way to see the problem. All the cases but the TNH one, however, do not need this fix for correctness since they actually don't care if a call would throw. As a TODO, we should find a way to undo this minor regression. The regression only affects builds with EH enabled, though, so most users should be unaffected even in the interm.
Diffstat (limited to 'test/lit/binary')
0 files changed, 0 insertions, 0 deletions