Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Emit imports before defined things in text format (#1715) | Alon Zakai | 2018-11-01 | 1 | -1/+1 |
| | | | | | That is the correct order in the text format, wabt errors otherwise. See AssemblyScript/assemblyscript#310 | ||||
* | Unify imported and non-imported things (#1678) | Alon Zakai | 2018-09-19 | 1 | -1/+1 |
| | | | | | | | | | | | | | | Fixes #1649 This moves us to a single object for functions, which can be imported or nor, and likewise for globals (as a result, GetGlobals do not need to check if the global is imported or not, etc.). All imported things now inherit from Importable, which has the module and base of the import, and if they are set then it is an import. For convenient iteration, there are a few helpers like ModuleUtils::iterDefinedGlobals(wasm, [&](Global* global) { .. use global .. }); as often iteration only cares about imported or defined (non-imported) things. | ||||
* | Emit binary function index in comment in text format, for convenience (#1232) | Alon Zakai | 2017-10-20 | 1 | -1/+1 |
| | |||||
* | use a single space for pretty printing of wasts, so massive wasts are less ↵ | Alon Zakai | 2017-03-09 | 1 | -77/+77 |
| | | | | unruly (#928) | ||||
* | stop doing dce in -O0, which was just need temporarily while browsers figure ↵ | Alon Zakai | 2017-03-06 | 1 | -0/+3 |
| | | | | out the spec (#932) | ||||
* | DCE even in -O0 (#884) | Alon Zakai | 2017-01-19 | 1 | -3/+0 |
| | |||||
* | if we see no asm.js function tables, the table size is 0 | Alon Zakai | 2016-10-11 | 1 | -1/+1 |
| | |||||
* | Print the name of memory along with size (#720) | Derek Schuff | 2016-09-28 | 1 | -1/+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. | ||||
* | memory and table printing fixes | Alon Zakai | 2016-09-20 | 1 | -3/+2 |
| | |||||
* | new export syntax in spec repo | Alon Zakai | 2016-09-07 | 1 | -1/+1 |
| | |||||
* | new import syntax in spec repo | Alon Zakai | 2016-09-07 | 1 | -4/+4 |
| | |||||
* | import memoryBase and tableBase | Alon Zakai | 2016-09-07 | 1 | -0/+2 |
| | |||||
* | import table | Alon Zakai | 2016-09-07 | 1 | -0/+1 |
| | |||||
* | import memory #684 | Alon Zakai | 2016-09-07 | 1 | -1/+1 |
| | |||||
* | export kinds | Alon Zakai | 2016-09-07 | 1 | -1/+1 |
| | |||||
* | add --no-opt testing to asm2wasm | Alon Zakai | 2016-05-19 | 1 | -0/+84 |