Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add an unreachable type, so we can properly type check binaries with an ↵ | Alon Zakai | 2016-02-01 | 1 | -4/+14 |
| | | | | unreachable side (which we then ignore) #160 | ||||
* | set type for loop #161 | Alon Zakai | 2016-02-01 | 3 | -0/+6 |
| | |||||
* | fix call_indirect s2wasm parsing order #162 | Alon Zakai | 2016-02-01 | 1 | -9/+5 |
| | |||||
* | clean up refactored call processing code | Alon Zakai | 2016-02-01 | 1 | -15/+12 |
| | |||||
* | refactor call processing code in s2wasm to not share as much between ↵ | Alon Zakai | 2016-02-01 | 1 | -31/+43 |
| | | | | call_indirect and the others, as we need to rewrite the call_indirect code | ||||
* | optimize store offsets from emscripten output | Alon Zakai | 2016-01-31 | 1 | -2/+12 |
| | |||||
* | optimize load offsets from emscripten output | Alon Zakai | 2016-01-31 | 2 | -0/+71 |
| | |||||
* | fix block type in LowerIfElse | Alon Zakai | 2016-01-31 | 1 | -0/+1 |
| | |||||
* | refactor some binary writing code | Alon Zakai | 2016-01-30 | 1 | -14/+14 |
| | |||||
* | Do relocation properly when ignoring unknown symbols | JF Bastien | 2016-01-30 | 1 | -2/+4 |
| | | | | My previous patch didn't perform the relocation, so it stuck around. Make it a nullptr instead. | ||||
* | fix switch in binary format | Alon Zakai | 2016-01-29 | 1 | -29/+24 |
| | |||||
* | refactor binary format break code | Alon Zakai | 2016-01-29 | 1 | -10/+19 |
| | |||||
* | don't let ceil in binary memory size computation let us get to UINT_MAX ↵ | Alon Zakai | 2016-01-29 | 1 | -2/+2 |
| | | | | which can overflow | ||||
* | allow memory size 0 in binary format | Alon Zakai | 2016-01-29 | 1 | -5/+16 |
| | |||||
* | fix I8Const usage | Alon Zakai | 2016-01-29 | 1 | -3/+3 |
| | |||||
* | if functions are already type-named, do not change their types | Alon Zakai | 2016-01-29 | 1 | -1/+3 |
| | |||||
* | print named types of functions | Alon Zakai | 2016-01-29 | 1 | -0/+3 |
| | |||||
* | fix function type parsing in s-parser | Alon Zakai | 2016-01-29 | 1 | -3/+3 |
| | |||||
* | fix float payloads based on #152 | Alon Zakai | 2016-01-29 | 1 | -2/+2 |
| | |||||
* | support exports by a different name in binary format | Alon Zakai | 2016-01-29 | 1 | -7/+14 |
| | |||||
* | clarify Export fields | Alon Zakai | 2016-01-29 | 1 | -2/+2 |
| | |||||
* | fix printing of i64 loads of 4 bytes | Alon Zakai | 2016-01-29 | 1 | -1/+3 |
| | |||||
* | fix ConvertSInt64 in binary format | Alon Zakai | 2016-01-29 | 1 | -1/+1 |
| | |||||
* | fix more conversion opcodes | Alon Zakai | 2016-01-29 | 1 | -4/+4 |
| | |||||
* | fix conversion opcodes in binary format | Alon Zakai | 2016-01-29 | 1 | -4/+4 |
| | |||||
* | add import module.base to binary format | Alon Zakai | 2016-01-28 | 1 | -2/+6 |
| | |||||
* | join adjacent identical ifs | Alon Zakai | 2016-01-28 | 1 | -2/+0 |
| | |||||
* | current binary format has power of 2 memory, so use ceil to ensure that the ↵ | Alon Zakai | 2016-01-28 | 1 | -2/+2 |
| | | | | conversion only increases memory, and does not make it too small for the segments | ||||
* | fix memory segment reading in binary format | Alon Zakai | 2016-01-28 | 1 | -4/+5 |
| | |||||
* | Use bit_cast in parseConst, avoid UB | JF Bastien | 2016-01-28 | 1 | -24/+19 |
| | |||||
* | Factor out bit_cast. | JF Bastien | 2016-01-28 | 2 | -14/+43 |
| | |||||
* | Don't emit NaN payload when zero. | JF Bastien | 2016-01-28 | 1 | -7/+11 |
| | |||||
* | Output NaN payloads only | JF Bastien | 2016-01-28 | 1 | -6/+12 |
| | | | | As discussed with @binji and @sunfish in https://github.com/WebAssembly/sexpr-wasm-prototype/issues/28 | ||||
* | Write each memory segment on its own line | JF Bastien | 2016-01-27 | 1 | -2/+2 |
| | | | | 30k+ column files are silly. | ||||
* | Add s2wasm option to ignore unknown symbols | JF Bastien | 2016-01-27 | 2 | -8/+22 |
| | | | | This is useful for bringup. | ||||
* | s2wasm: support aliased functions | JF Bastien | 2016-01-27 | 1 | -7/+30 |
| | |||||
* | sort keys in metrics | Alon Zakai | 2016-01-27 | 1 | -6/+15 |
| | |||||
* | Adds a --metrics command line argument to print metrics about .wast files ↵ | Michael | 2016-01-27 | 3 | -0/+98 |
| | | | | between optimization passes. | ||||
* | ignore zero-size segments in binary format | Alon Zakai | 2016-01-27 | 1 | -1/+6 |
| | |||||
* | Parenthesize macro arguments. | Dan Gohman | 2016-01-27 | 1 | -2/+2 |
| | |||||
* | support tee_local in .s files | Alon Zakai | 2016-01-27 | 1 | -0/+9 |
| | |||||
* | parse 0-size blocks | Alon Zakai | 2016-01-27 | 2 | -4/+2 |
| | |||||
* | fix select type | Alon Zakai | 2016-01-27 | 2 | -1/+6 |
| | |||||
* | fix MemorySize type | Alon Zakai | 2016-01-27 | 1 | -1/+5 |
| | |||||
* | fix function results in binary format reading | Alon Zakai | 2016-01-27 | 1 | -0/+1 |
| | |||||
* | improve assert | Alon Zakai | 2016-01-27 | 1 | -1/+7 |
| | |||||
* | Merge pull request #144 from mbebenita/apple-colors | Alon Zakai | 2016-01-27 | 1 | -1/+1 |
|\ | | | | | Fix colors on OSX. | ||||
| * | Fix colors on OSX. | Michael | 2016-01-26 | 1 | -1/+1 |
| | | | | | | | | Apple OSes define __APPLE__ instead of the lower case __apple__. | ||||
* | | increase function and block sizes in binary format, to get more real-world ↵ | Alon Zakai | 2016-01-26 | 1 | -6/+6 |
| | | | | | | | | code to build | ||||
* | | fix GrowMemory parsing | Alon Zakai | 2016-01-26 | 1 | -0/+1 |
| | |