Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | call_indirect now has the target at the end | Alon Zakai | 2016-09-07 | 1 | -7/+7 | |
| | ||||||
* | add drop and tee expressions | Alon Zakai | 2016-09-07 | 1 | -4/+23 | |
| | ||||||
* | make sure to create unique implicit block names in s-parser | Alon Zakai | 2016-09-07 | 1 | -1/+5 | |
| | ||||||
* | offset support in table | Alon Zakai | 2016-08-15 | 1 | -4/+14 | |
| | ||||||
* | support function table initial and max sizes, and new printing format | Alon Zakai | 2016-08-12 | 1 | -1/+24 | |
| | ||||||
* | support expressions in segment offsets | Alon Zakai | 2016-08-12 | 1 | -5/+27 | |
| | ||||||
* | wast function type name desugaring is changing in spec:301 (#654) | Alon Zakai | 2016-07-28 | 1 | -10/+43 | |
| | ||||||
* | Fix trailing whitespace, single-character strings, checking map element ↵ | Dominic Chen | 2016-07-22 | 1 | -1/+1 | |
| | | | | presence, and eliminate explicit index counter (#633) | |||||
* | support wasm globals (#650) | Alon Zakai | 2016-07-21 | 1 | -3/+56 | |
| | ||||||
* | update spec tests, and handle some flux in call_indirect in upstream | Alon Zakai | 2016-07-06 | 1 | -0/+8 | |
| | ||||||
* | add parse error on array misindexing | Alon Zakai | 2016-07-05 | 1 | -0/+1 | |
| | ||||||
* | add shared-constants.h for wasm constants | Alon Zakai | 2016-06-26 | 1 | -1/+2 | |
| | ||||||
* | fix an assert to a proper error, in bad func decls | Alon Zakai | 2016-06-17 | 1 | -1/+1 | |
| | ||||||
* | handle breaks to the function's implicit block scope (#573) | Alon Zakai | 2016-06-06 | 1 | -7/+23 | |
| | ||||||
* | if we start to parse an s-string and find it empty, that is invalid #570 (#571) | Alon Zakai | 2016-06-04 | 1 | -0/+1 | |
| | ||||||
* | make call_indirect type a name, so that it is not a dependency on the ↵ | Alon Zakai | 2016-06-03 | 1 | -4/+4 | |
| | | | | module, which would break consistency and make some parallel passes tricky (#568) | |||||
* | check function types in s-parsing | Alon Zakai | 2016-06-03 | 1 | -1/+2 | |
| | ||||||
* | improve some parsing error texts | Alon Zakai | 2016-06-03 | 1 | -1/+1 | |
| | ||||||
* | check locals in s-parser | Alon Zakai | 2016-06-03 | 1 | -2/+8 | |
| | ||||||
* | invalid break labels are parse errors | Alon Zakai | 2016-06-01 | 1 | -3/+2 | |
| | ||||||
* | show a parse error for empty stack | Alon Zakai | 2016-05-24 | 1 | -1/+1 | |
| | ||||||
* | in makeMaybeBlock, alloc a nop if there is nothing | Alon Zakai | 2016-05-20 | 1 | -0/+1 | |
| | ||||||
* | fix loop s-parsing | Alon Zakai | 2016-05-20 | 1 | -2/+2 | |
| | ||||||
* | be more careful with checking total memory limit on 64-bit | Alon Zakai | 2016-05-18 | 1 | -2/+3 | |
| | ||||||
* | use separate internal opcodes for binary variants | Alon Zakai | 2016-05-18 | 1 | -25/+28 | |
| | ||||||
* | use separate internal opcodes for unary variants | Alon Zakai | 2016-05-18 | 1 | -22/+33 | |
| | ||||||
* | spec test updates, and many validation fixes | Alon Zakai | 2016-05-18 | 1 | -15/+62 | |
| | ||||||
* | support new syntactic sugar of export names on functions | Alon Zakai | 2016-05-13 | 1 | -4/+19 | |
| | ||||||
* | do not error on s-expr comments starting in strings | Alon Zakai | 2016-05-13 | 1 | -1/+1 | |
| | ||||||
* | add line and col info in s-parsing errors, and fix an small bug made ↵ | Alon Zakai | 2016-05-13 | 1 | -9/+28 | |
| | | | | noticeable by that change | |||||
* | parse error details | Alon Zakai | 2016-05-12 | 1 | -14/+14 | |
| | ||||||
* | use exceptions consistently to report input errors | Alon Zakai | 2016-05-12 | 1 | -20/+16 | |
| | ||||||
* | allow error handling in binary parsing | Alon Zakai | 2016-05-09 | 1 | -1/+1 | |
| | ||||||
* | parse binary modules encoded in wasts that arrive in pieces | Alon Zakai | 2016-05-09 | 1 | -8/+9 | |
| | ||||||
* | allow appending in stringToBinary | Alon Zakai | 2016-05-09 | 1 | -5/+7 | |
| | ||||||
* | parse binary modules encoded in wats | Alon Zakai | 2016-05-09 | 1 | -0/+14 | |
| | ||||||
* | refactor string to binary parsing in s-expression code so that we can use it ↵ | Alon Zakai | 2016-05-09 | 1 | -35/+44 | |
| | | | | in more places | |||||
* | Harmonize the internal opcodes with the binary format (#433) | Alon Zakai | 2016-05-03 | 1 | -5/+5 | |
| | | | | | | * harmonize the internal opcodes with the binary format, so they clearly parallel, and also this helps us avoid needing the type to disambiguate * comment on GetLocal in C API | |||||
* | Fix null UB (#428) | JF Bastien | 2016-05-03 | 1 | -33/+37 | |
| | | | | | As a continuation to #404, fix a dereference of a std::vector's zeroth element when the size of the vector is zero. Symptom: stl_vector.h:866:9: runtime error: reference binding to null pointer of type 'char' | |||||
* | validate in binaryen shell and on wasm binaries, and fix type checking | Alon Zakai | 2016-04-29 | 1 | -1/+2 | |
| | ||||||
* | avoid dynamic allocas (#410) | Alon Zakai | 2016-04-28 | 1 | -3/+4 | |
| | ||||||
* | avoid leaks when s-parsing hits an error | Alon Zakai | 2016-04-27 | 1 | -6/+6 | |
| | ||||||
* | don't leak currFunction in s-parser | Alon Zakai | 2016-04-27 | 1 | -5/+4 | |
| | ||||||
* | don't leak when parsing segments in s-parser | Alon Zakai | 2016-04-27 | 1 | -2/+2 | |
| | ||||||
* | allocate only expressions in arenas - functions, imports, exports, function ↵ | Alon Zakai | 2016-04-27 | 1 | -5/+5 | |
| | | | | types, can more simply be held by unique_ptrs on the owning module. this avoids need to coordinate arena allocation for their elements, and only the far more plentiful expression nodes are a perf factor anyhow | |||||
* | use arena allocation for s-expr Elements | Alon Zakai | 2016-04-27 | 1 | -3/+2 | |
| | ||||||
* | Split construction, scanning, and building phases of S2WasmBuilder (#400) | Derek Schuff | 2016-04-27 | 1 | -1/+1 | |
| | | | | | | | | | | | Instead of doing all of the S2Wasm work in the constructor, split construction, scanning (to determine implemented functions) and building of the wasm module. This allows the linker to get the symbol information (e.g. implemented functions) without having to build an entire module (which will be useful for archives) and to allow the linker to link a new object into the existing one by building the wasm module in place on the existing module. | |||||
* | add an ArenaVector for internal array allocations in expression nodes | Alon Zakai | 2016-04-26 | 1 | -6/+7 | |
| | ||||||
* | update MemorySize => CurrentMemory | Alon Zakai | 2016-04-18 | 1 | -5/+1 | |
| | ||||||
* | remove the AllocatingModule class, and just make Module have allocations. ↵ | Alon Zakai | 2016-04-18 | 1 | -3/+3 | |
| | | | | the distinction is not really that useful, and passes do need to allocate, so we would need to pass around AllocatingModules all around anyhow. (#361) |