diff options
author | Alon Zakai <azakai@google.com> | 2021-03-01 15:04:54 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-01 07:04:54 -0800 |
commit | 27a841eec6ceb171caae2a2cbd7c92ecdf8d78eb (patch) | |
tree | 2d03ee70c25165ba319e1b98e780350553f44c9a /src/shell-interface.h | |
parent | 7d453930f1b211baf324b1c010924d3709ff12ba (diff) | |
download | binaryen-27a841eec6ceb171caae2a2cbd7c92ecdf8d78eb.tar.gz binaryen-27a841eec6ceb171caae2a2cbd7c92ecdf8d78eb.tar.bz2 binaryen-27a841eec6ceb171caae2a2cbd7c92ecdf8d78eb.zip |
[Wasm Exceptions] Properly ensure unique Try labels after an inlining (#3632)
The old code here just referred to Block and Loop. Refactor it to use the
generic helper code that also handles Try.
Also add validation of Try names in the validator.
The testcase here would have $label appear twice before this fix. After
the fix there is $label0 for one of them.
Diffstat (limited to 'src/shell-interface.h')
0 files changed, 0 insertions, 0 deletions