diff options
| author | Alon Zakai <alonzakai@gmail.com> | 2019-03-07 09:07:30 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-03-07 09:07:30 -0800 |
| commit | 1a5b410701542413f497b3030c0b87f3600dc1bc (patch) | |
| tree | d316e9a52cd4b8a1dd5574a07bafd3c33a067a93 /test/wasm2js.traps.js | |
| parent | 3a5dcc61ffcc54cecdba2cac272be66310ab2f3d (diff) | |
| download | binaryen-1a5b410701542413f497b3030c0b87f3600dc1bc.tar.gz binaryen-1a5b410701542413f497b3030c0b87f3600dc1bc.tar.bz2 binaryen-1a5b410701542413f497b3030c0b87f3600dc1bc.zip | |
Fix getExitingBranches, which had |targets| instead of |curr->targets| (#1936)
That caused it to miss switch targets, and a code-folding bug.
Fixes #1838
Sadly the fuzzer didn't find this because code folding looks for very particular code patterns that are unlikely to be emitted randomly.
Diffstat (limited to 'test/wasm2js.traps.js')
0 files changed, 0 insertions, 0 deletions
