diff options
author | Heejin Ahn <aheejin@gmail.com> | 2021-10-21 13:36:26 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-21 13:36:26 -0700 |
commit | 4bac51d1d9a98e853fb7f75341820cda425393eb (patch) | |
tree | bbf1d17e80cad57af6401471e8f14c723b2a46c3 /test/binaryen.js/optimize-levels.js.txt | |
parent | 24226e6fc3250300e484c8cbe9d1090be5be5dc0 (diff) | |
download | binaryen-4bac51d1d9a98e853fb7f75341820cda425393eb.tar.gz binaryen-4bac51d1d9a98e853fb7f75341820cda425393eb.tar.bz2 binaryen-4bac51d1d9a98e853fb7f75341820cda425393eb.zip |
[EH] Make doEndThrowingInst simpler (NFC) (#4267)
The current code the innermost (`i`th) case specially first and handles
`i-1`th `try` in each loop iteration. This puts the `i`th case in the
loop and each iteration handles `i`th `try`, which is simpler. Then we
don't need to check `throwingInstsStack.empty()` in the beginning
because the `for` loop wouldn't be entered if it's empty anyway.
Diffstat (limited to 'test/binaryen.js/optimize-levels.js.txt')
0 files changed, 0 insertions, 0 deletions