summaryrefslogtreecommitdiff
path: root/test/empty_table.2asm.js
Commit message (Collapse)AuthorAgeFilesLines
* eliminate multiple return statements for wasm2asm functions (#1448)Nathan Froyd2018-03-011-4/+2
| | | | This change eliminates one issue that prevents asm.js validation of the generated code, see #1443.
* Improve name mangling of asm.js identifiers (#1433)Daniel Wirtz2018-02-211-8/+8
| | | | | | Also refactors mangling to its own file so it can be reused by generators and consumers, i.e., where it is important to know that an import must be named 'switch_' where it otherwise would be 'switch'. * Update tests and JS dist files
* use simplify-locals in wasm2asm, so the output is not horribly verbose with ↵Alon Zakai2017-10-201-73/+13
| | | | los of extra inefficient variables. this is more similar to the output we had before the flatten rewrite (#1229)
* Flattening rewrite (#1201)Alon Zakai2017-10-031-11/+74
| | | | | | | | | | | | | | | | | | | | Rename flatten-control-flow to flatten, which now flattens everything, not just control flow, so e.g. (i32.add (call $x) (call $y) ) ==> (block (set_local $temp_x (call $x)) (set_local $temp_y (call $y)) (i32.add (get_local $x) (get_local $y) ) ) This uses more locals than before, but is much simpler and avoids a bunch of corner cases and fuzz bugs the old one hit. We can optimize later if necessary.
* i64 to i32 lowering for wasm2asm (#1134)Thomas Lively2017-09-011-9/+8
|
* wasm2asm i32 arithmetic support (#1120)Thomas Lively2017-08-071-0/+38
| | | * Rotations, popcnt, ctz, etc
* Get wasm2asm building again (#1107)Thomas Lively2017-08-021-0/+19
* Get wasm2asm building again Updates CMakeLists.txt to have wasm2asm built by default, updates wasm2asm.h to account for recent interface changes, and restores JSPrinter functionality. * Implement splice for array values * Clean up wasm2asm testing * Print semicolons after statements in blocks * Cleanups and semicolons for condition arms * Prettify semicolon emission