diff options
author | Alon Zakai <alonzakai@gmail.com> | 2019-04-22 14:46:42 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-22 14:46:42 -0700 |
commit | 711a22c65f28029ae0ca2d31a0cd6f8be9b953c7 (patch) | |
tree | 26b2db972bf4c4a2bf8041e07609cc0dd07a7eb5 /test/wasm2js/select.2asm.js | |
parent | ff710e63eaed7cf8fbf3042843f6243597da49be (diff) | |
download | binaryen-711a22c65f28029ae0ca2d31a0cd6f8be9b953c7.tar.gz binaryen-711a22c65f28029ae0ca2d31a0cd6f8be9b953c7.tar.bz2 binaryen-711a22c65f28029ae0ca2d31a0cd6f8be9b953c7.zip |
wasm2js: get rid of some non-flat code assumptions (#2036)
We run flatten there, which lets us simplify things a lot. Turns out that for assertions we didn't run it, which is why we still needed the old non-flat code paths. This adds flatten there and removes that old code and assumptions.
Diffstat (limited to 'test/wasm2js/select.2asm.js')
-rw-r--r-- | test/wasm2js/select.2asm.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/wasm2js/select.2asm.js b/test/wasm2js/select.2asm.js index fdc12ba92..264ebb071 100644 --- a/test/wasm2js/select.2asm.js +++ b/test/wasm2js/select.2asm.js @@ -68,13 +68,13 @@ function asmFunc(global, env, buffer) { function $4(cond) { cond = cond | 0; var $1_1 = 0; - return abort() | 0; + abort(); } function $5(cond) { cond = cond | 0; var $1_1 = 0; - return abort() | 0; + abort(); } function legalstub$1($0_1, $1_1, $2_1, $3_1, $4_1) { |