Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | index locals, so that get_local and set_local have just an index, and local ↵ | Alon Zakai | 2016-04-18 | 1 | -30/+44 | |
| | | | | names are kept on the Function object (#354) | |||||
* | rename function locals, to params and vars, which together are all the ↵ | Alon Zakai | 2016-04-14 | 1 | -3/+3 | |
| | | | | locals. preparation for #336 (#349) | |||||
* | remove excessive wasm-s-parser debug logging (#345) | Alon Zakai | 2016-04-14 | 1 | -5/+2 | |
| | ||||||
* | dyn_cast => dynCast | Alon Zakai | 2016-04-11 | 1 | -1/+1 | |
| | ||||||
* | refactor printing | Alon Zakai | 2016-04-04 | 1 | -0/+4 | |
| | ||||||
* | add simpler constructor for SExpressionWasmBuilder | Alon Zakai | 2016-04-04 | 1 | -0/+3 | |
| | ||||||
* | add apis for accessing module elements | Alon Zakai | 2016-04-04 | 1 | -9/+9 | |
| | ||||||
* | Use local enum. | JF Bastien | 2016-03-29 | 1 | -1/+1 | |
| | ||||||
* | Use static const, and init in-line | JF Bastien | 2016-03-29 | 1 | -3/+2 | |
| | ||||||
* | avoid constexpr since visual studio doesn't like it | Alon Zakai | 2016-03-29 | 1 | -1/+1 | |
| | ||||||
* | Add missing <cctype> include. | Jukka Jylänki | 2016-03-28 | 1 | -0/+1 | |
| | | | | | # Conflicts: # src/wasm-s-parser.h | |||||
* | Use std::numeric_limits<uint32_t>::max() instead of 0xFFFFFFFF. | Jukka Jylänki | 2016-03-28 | 1 | -1/+2 | |
| | ||||||
* | Hide Visual Studio build warning on casting 64-bit int to 32-bit when we ↵ | Jukka Jylänki | 2016-03-28 | 1 | -1/+1 | |
| | | | | know it is safe to do so. | |||||
* | Make type of EqZ unary operators always i32 | Derek Schuff | 2016-03-21 | 1 | -1/+1 | |
| | | | | | This makes them symmetric to binary relational operators. Also support eqz in the s2wasm parser. | |||||
* | update spec tests and support eqz | Alon Zakai | 2016-03-19 | 1 | -1/+4 | |
| | ||||||
* | use getFunctionName in another place | Alon Zakai | 2016-03-16 | 1 | -6/+1 | |
| | ||||||
* | Merge pull request #246 from WebAssembly/spec-binary | Alon Zakai | 2016-03-15 | 1 | -1/+24 | |
|\ | | | | | Binary spec stuff | |||||
| * | parse start properly when it is an offset | Alon Zakai | 2016-03-15 | 1 | -1/+14 | |
| | | ||||||
| * | add explicit memory export support | Alon Zakai | 2016-03-15 | 1 | -0/+10 | |
| | | ||||||
* | | fix block comments | Michael Bebenita | 2016-03-15 | 1 | -1/+20 | |
| | | ||||||
* | | Remove recursion from s-expr parsing. | Michael Bebenita | 2016-03-15 | 1 | -32/+22 | |
|/ | ||||||
* | de-recurse operations on nested blocks | Alon Zakai | 2016-03-10 | 1 | -14/+47 | |
| | ||||||
* | Implement rotates | Derek Schuff | 2016-03-09 | 1 | -1/+5 | |
| | ||||||
* | be more precise in br_table parsing | Alon Zakai | 2016-03-07 | 1 | -1/+1 | |
| | ||||||
* | br_table, no more cases | Alon Zakai | 2016-03-07 | 1 | -34/+20 | |
| | ||||||
* | parse empty blocks properly | Alon Zakai | 2016-03-07 | 1 | -2/+3 | |
| | ||||||
* | parse then and else | Alon Zakai | 2016-03-07 | 1 | -0/+19 | |
| | ||||||
* | refactoring in preparation for then-else parsing | Alon Zakai | 2016-03-07 | 1 | -23/+29 | |
| | ||||||
* | update if parsing to new spec rules | Alon Zakai | 2016-03-07 | 1 | -2/+26 | |
| | ||||||
* | add a finalize() method for blocks | Alon Zakai | 2016-03-07 | 1 | -4/+3 | |
| | ||||||
* | update select changes in spec | Alon Zakai | 2016-03-02 | 1 | -4/+4 | |
| | ||||||
* | support function indexes in tables | Alon Zakai | 2016-02-25 | 1 | -1/+8 | |
| | ||||||
* | Merge pull request #210 from mbebenita/fix-parsing | Alon Zakai | 2016-02-23 | 1 | -1/+1 | |
|\ | | | | | Bug fix and adds printing / parsing tests. | |||||
| * | Bug fix and adds printing / parsing tests. | Michael | 2016-02-22 | 1 | -1/+1 | |
| | | ||||||
* | | Fix switch offsets. | Michael | 2016-02-23 | 1 | -11/+16 | |
|/ | ||||||
* | Merge pull request #209 from WebAssembly/asm-fixes | Alon Zakai | 2016-02-21 | 1 | -1/+2 | |
|\ | | | | | Asm fixes | |||||
| * | debugging tweaks | Alon Zakai | 2016-02-21 | 1 | -1/+2 | |
| | | ||||||
* | | do not print alignment if it is the implicit default, which is the number of ↵ | Alon Zakai | 2016-02-20 | 1 | -2/+2 | |
|/ | | | | bytes | |||||
* | Fix out-of-bounds read | JF Bastien | 2016-02-09 | 1 | -1/+4 | |
| | | | | Found by asan | |||||
* | update spec tests and shift to putting the br_if condition at the end, as ↵ | Alon Zakai | 2016-02-08 | 1 | -5/+8 | |
| | | | | was just changed to in the spec | |||||
* | fix import parsing | Alon Zakai | 2016-02-05 | 1 | -1/+1 | |
| | ||||||
* | Fix select | JF Bastien | 2016-02-05 | 1 | -3/+3 | |
| | | | | | | | | | The ordering changed in: https://github.com/WebAssembly/spec/pull/221 Which changed the spec tests, breaking sexpr-wasm because it pulls in the spec tests. This was then fixed: https://github.com/WebAssembly/sexpr-wasm-prototype/commit/23dc368148fc7827a603e3853f5a40287eb9effe Which in turn breaks when binaryen feeds sexpr-wasm .wast files with the old select operand ordering. Note that this PR has new failures when running the torture tests in binaryen-shell: the order of evaluation is correct in binaryen-shell but isn't emitted properly by LLVM in the .s files. This will require another patch to fix LLVM. | |||||
* | Support start | JF Bastien | 2016-02-05 | 1 | -0/+3 | |
| | | | | | | | | | | | | | | As spec'd in: https://github.com/WebAssembly/design/pull/495 And discussed in: https://github.com/WebAssembly/spec/issues/231 This will make it simpler and more uniform to add a start entry point. s2wasm is the right place to add start because it'll eventually need to do other basic setup, e.g. put code in start to setup the stack, as dschuff is doing in: https://github.com/WebAssembly/binaryen/pull/179 Or rather, the linker is the right place and s2wasm happens to act as our linker right now. | |||||
* | Merge pull request #174 from mbebenita/fix-import | Alon Zakai | 2016-02-04 | 1 | -9/+16 | |
|\ | | | | | Fix import parsing. | |||||
| * | Formatting. | Michael | 2016-02-04 | 1 | -3/+1 | |
| | | ||||||
| * | Remove assert. | Michael | 2016-02-03 | 1 | -1/+3 | |
| | | ||||||
| * | Fix import parsing. | Michael | 2016-02-03 | 1 | -8/+15 | |
| | | ||||||
* | | comment | Alon Zakai | 2016-02-04 | 1 | -0/+3 | |
|/ | ||||||
* | add return node | Alon Zakai | 2016-02-01 | 1 | -20/+1 | |
| | ||||||
* | use getReachableWasmType in if_else and select | Alon Zakai | 2016-02-01 | 1 | -1/+1 | |
| |