Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Print the name of memory along with size (#720) | Derek Schuff | 2016-09-28 | 1 | -0/+1 |
| | | | | | Otherwise when we export it as "$0" it's an undefined name. The spec interpreter actually rejects this, although I think it's intended to work, given the tests in export.wast. wabt also accepts it. | ||||
* | fix signed int64 LEB bug with large negative values (#719) | Alon Zakai | 2016-09-28 | 1 | -7/+43 |
| | |||||
* | s2wasm: Do not add drops for void values (#718) | Derek Schuff | 2016-09-28 | 1 | -1/+5 |
| | | | Fixes #708 | ||||
* | Type check block/loop/if sigs (#717) | Alon Zakai | 2016-09-28 | 10 | -338/+179 |
| | | | | | | * type check using block/loop/if types provided in text and binary formats. * print if and loop sigs which were missing. * remove dsl from OptimizeInstructions as after those changes it needs rethinking. | ||||
* | Update binary encoding for block, loop, and if signatures (#711) | Derek Schuff | 2016-09-27 | 3 | -27/+71 |
| | | | | | | Also updates the tests and has a few other changes for binary 0xc: Update nop/unrechable opcodes Fix for "name" section | ||||
* | Make wasm-as emit the names section/debug info only with -g (#705) | Alon Zakai | 2016-09-26 | 2 | -1/+11 |
| | |||||
* | precompute breaks and returns (#715) | Alon Zakai | 2016-09-25 | 2 | -16/+60 |
| | |||||
* | optimize if(const) | Alon Zakai | 2016-09-24 | 1 | -0/+15 |
| | |||||
* | precompute void expressions too | Alon Zakai | 2016-09-24 | 1 | -12/+6 |
| | |||||
* | Merge pull request #710 from WebAssembly/autodrop-fix | Alon Zakai | 2016-09-23 | 4 | -55/+99 |
|\ | | | | | Autodrop fixes | ||||
| * | fix a simplify-locals bug where we didn't notice and if already had a result ↵ | Alon Zakai | 2016-09-23 | 1 | -3/+2 |
| | | | | | | | | value | ||||
| * | replace two drops in an if-else with one on the if | Alon Zakai | 2016-09-23 | 1 | -2/+7 |
| | | |||||
| * | autoDrop fix | Alon Zakai | 2016-09-23 | 2 | -50/+90 |
| | | |||||
* | | Update binary encodings for call instructions and segments (#706) | Derek Schuff | 2016-09-22 | 1 | -9/+10 |
|/ | | | | | * Call instructions no longer encode the arity * Segments encode the linear memory index (0 for MVP) | ||||
* | Update binary format toward 0xc (#704) | Derek Schuff | 2016-09-22 | 2 | -103/+141 |
| | | | | | | Updates section headers and formats for type, import, function, table, memory, and export sections, as well as "names" section, which is now a user section. | ||||
* | fix use of endOfFunction in an uninitialized state in wasm-binary | Alon Zakai | 2016-09-21 | 1 | -1/+1 |
| | |||||
* | error on putting spectest.print in a table | Alon Zakai | 2016-09-21 | 2 | -0/+15 |
| | |||||
* | auto-generated import names must be unique by kind | Alon Zakai | 2016-09-21 | 1 | -12/+19 |
| | |||||
* | fix start section in binary format | Alon Zakai | 2016-09-21 | 1 | -2/+2 |
| | |||||
* | new if label behavior | Alon Zakai | 2016-09-21 | 1 | -33/+21 |
| | |||||
* | loop block signatures | Alon Zakai | 2016-09-21 | 1 | -2/+6 |
| | |||||
* | refactor wasm.h to remove numericIndex hacks, and move indexing to the parsers | Alon Zakai | 2016-09-21 | 6 | -69/+76 |
| | |||||
* | function numbering fix in wasm-s-parser | Alon Zakai | 2016-09-20 | 1 | -3/+8 |
| | |||||
* | memory data parsing fixes | Alon Zakai | 2016-09-20 | 1 | -1/+8 |
| | |||||
* | table elem parsing fixes | Alon Zakai | 2016-09-20 | 2 | -8/+28 |
| | |||||
* | max memory and table fixes | Alon Zakai | 2016-09-20 | 1 | -0/+4 |
| | |||||
* | memory and table printing fixes | Alon Zakai | 2016-09-20 | 1 | -8/+36 |
| | |||||
* | memory parsing fixes | Alon Zakai | 2016-09-20 | 1 | -3/+12 |
| | |||||
* | memory and table parsing fixes | Alon Zakai | 2016-09-20 | 1 | -7/+21 |
| | |||||
* | table parsing and executing fixes | Alon Zakai | 2016-09-20 | 2 | -10/+18 |
| | |||||
* | mark table as present if seen as an import | Alon Zakai | 2016-09-20 | 1 | -0/+1 |
| | |||||
* | validate spectest.print as a function | Alon Zakai | 2016-09-20 | 1 | -1/+7 |
| | |||||
* | support spectest.global | Alon Zakai | 2016-09-20 | 3 | -4/+25 |
| | |||||
* | global importing fixes: use the right counter for globals and for functions | Alon Zakai | 2016-09-20 | 2 | -14/+59 |
| | |||||
* | import parsing fixes | Alon Zakai | 2016-09-19 | 2 | -12/+22 |
| | |||||
* | globals mutability fixes | Alon Zakai | 2016-09-19 | 5 | -6/+26 |
| | |||||
* | global parsing | Alon Zakai | 2016-09-19 | 5 | -5/+37 |
| | |||||
* | new-style import parsing | Alon Zakai | 2016-09-19 | 1 | -5/+40 |
| | |||||
* | parsing and validation fixes | Alon Zakai | 2016-09-17 | 2 | -12/+28 |
| | |||||
* | support module operations in shell tests | Alon Zakai | 2016-09-17 | 5 | -32/+68 |
| | |||||
* | parse empty modules without error | Alon Zakai | 2016-09-16 | 1 | -0/+1 |
| | |||||
* | use export name as internal name if no internal name, for better s-expr ↵ | Alon Zakai | 2016-09-16 | 1 | -0/+3 |
| | | | | debugging | ||||
* | br_if returns its value | Alon Zakai | 2016-09-16 | 4 | -8/+18 |
| | |||||
* | block signatures | Alon Zakai | 2016-09-16 | 2 | -8/+26 |
| | |||||
* | support assert_malformed in shell test runner | Alon Zakai | 2016-09-16 | 3 | -7/+6 |
| | |||||
* | s-expression modules can have names | Alon Zakai | 2016-09-16 | 1 | -8/+14 |
| | |||||
* | call_import changes: no more call_import, shared index space with functions | Alon Zakai | 2016-09-16 | 3 | -54/+81 |
| | |||||
* | handle getTempRet0 having extra code, which can happen in emterpreter ↵ | Alon Zakai | 2016-09-15 | 1 | -1/+1 |
| | | | | assertions mode | ||||
* | fix remove-unused-brs bug when checking if it is safe to conditionalize code | Alon Zakai | 2016-09-15 | 2 | -13/+13 |
| | |||||
* | Update s2wasm for 0xc changes (#698) | Derek Schuff | 2016-09-15 | 2 | -24/+25 |
| | | | | | | | | | | | Several updates for s2wasm and its tests: Add explicit drops where they are emitted by LLVM already Convert loops (which are still modeled in the old way by LLVM) to wrap them in an explicit block (for the exit label). This also allows simplifying the loop creation (no need to post-process the implicit block which is the loop's body). After the engines update to 0xc we should update LLVM to model loops in the 0xc way, but for now it remains compatible with 0xb and 0xc. Fix the order of the calls to setTee() when creating tee_locals Add an explicit drop when creating the _start entry function wrapper if needed Update dot_s and llvm_autogenerated tests to remove store-results optimization (and few other minor updates) Fix the test auto-updater to fail if subprocesses fail There still seems to be a validation failure when building libc (I think it's from the stricter drop rules, but it may be in the source rather than the compiler), but this at least makes Binaryen's tests pa |