summaryrefslogtreecommitdiff
path: root/check.py
diff options
context:
space:
mode:
authorHeejin Ahn <aheejin@gmail.com>2020-05-15 13:29:40 -0700
committerGitHub <noreply@github.com>2020-05-15 13:29:40 -0700
commitbe61c69e3921d969fdb4743d31b289429aa280c0 (patch)
tree9460cc126f08105a069d48a837c84adf00ef5e5b /check.py
parent954acedd317817708ad4a20a29bd6b879086396a (diff)
downloadbinaryen-be61c69e3921d969fdb4743d31b289429aa280c0.tar.gz
binaryen-be61c69e3921d969fdb4743d31b289429aa280c0.tar.bz2
binaryen-be61c69e3921d969fdb4743d31b289429aa280c0.zip
Fix br_on_exn handling in ReFinalize (#2854)
In `ReFinalize`'s branch handling, `updateBreakValueType` is supposed to be executed only when the branch itself is not replaced with its argument (because it is guaranteed not to be taken). Also this moves `visitBrOnExn` from `RuntimeExpressionRunner` to its base class `ExpressionRunner`, because it does not depend on anything on the runtime instance to work. This is effectively NFC for now because `visitTry` is still only implemented only in `RuntimeExpressionRunner` because it relies on multivalue handling of it, and without it we cannot create a valid exception `Literal`.
Diffstat (limited to 'check.py')
0 files changed, 0 insertions, 0 deletions