Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | optimize block and if returns, by merging set_locals that flow out of them | Alon Zakai | 2016-04-24 | 1 | -72/+300 |
| | |||||
* | comment on replaceCurrent | Alon Zakai | 2016-04-24 | 1 | -1/+4 |
| | |||||
* | provide the current expression to noteNonLinear | Alon Zakai | 2016-04-24 | 1 | -2/+2 |
| | |||||
* | fix EffectAnalyzer, blocks and loops do not branch by themselves | Alon Zakai | 2016-04-24 | 1 | -2/+0 |
| | |||||
* | go back to using a mutex in mixed arena, until we get the atomics working | Alon Zakai | 2016-04-24 | 1 | -19/+12 |
| | |||||
* | run multiple cycles of RemoveUnusedBrs | Alon Zakai | 2016-04-24 | 1 | -1/+15 |
| | |||||
* | run optimize-instructions a second time at the end | Alon Zakai | 2016-04-24 | 1 | -0/+1 |
| | |||||
* | get rid of nops in ifs | Alon Zakai | 2016-04-24 | 1 | -0/+20 |
| | |||||
* | handle general control flow in RemoveUnusedBrs | Alon Zakai | 2016-04-24 | 1 | -59/+89 |
| | |||||
* | vacuum dead code after br_table | Alon Zakai | 2016-04-24 | 1 | -1/+2 |
| | |||||
* | vacuum dead code after unconditional brs | Alon Zakai | 2016-04-24 | 1 | -3/+14 |
| | |||||
* | allow allocations on side threads (#365) | Alon Zakai | 2016-04-24 | 2 | -10/+68 |
| | |||||
* | Add missing algorithm and string headers | JF Bastien | 2016-04-23 | 1 | -0/+2 |
| | | | As in #382. | ||||
* | Simplify statics, segments, and relocations (#380) | Derek Schuff | 2016-04-22 | 4 | -45/+78 |
| | | | | Also defer address assignment until layout time in preparation for separating linker objects out from Linker | ||||
* | fix conversion opcodes (#381) | Alon Zakai | 2016-04-22 | 1 | -44/+44 |
| | |||||
* | Merge pull request #379 from WebAssembly/zero_x_b | Alon Zakai | 2016-04-22 | 1 | -4/+4 |
|\ | | | | | More 0xb fixes | ||||
| * | br_table offsets are int32s, not lebs | Alon Zakai | 2016-04-22 | 1 | -4/+4 |
| | | |||||
| * | put segments in right order | Alon Zakai | 2016-04-21 | 1 | -4/+6 |
| | | |||||
* | | put segments in right order (#378) | Alon Zakai | 2016-04-21 | 1 | -4/+6 |
| | | |||||
* | | Merge pull request #377 from WebAssembly/zero_x_b | Alon Zakai | 2016-04-21 | 4 | -60/+91 |
|\| | | | | | More 0xb work | ||||
| * | function toplevels is a list | Alon Zakai | 2016-04-21 | 1 | -6/+6 |
| | | |||||
| * | block helper utils | Alon Zakai | 2016-04-21 | 1 | -1/+14 |
| | | |||||
| * | ifs in the binary format always have a break scope | Alon Zakai | 2016-04-21 | 1 | -12/+23 |
| | | |||||
| * | fix if and else bodies, which can be lists | Alon Zakai | 2016-04-21 | 1 | -13/+11 |
| | | |||||
| * | fix loop binary parsing | Alon Zakai | 2016-04-21 | 1 | -4/+19 |
| | | |||||
| * | if condition is popped from before, not pre-order inline | Alon Zakai | 2016-04-21 | 1 | -3/+3 |
| | | |||||
| * | update br_table in binary format | Alon Zakai | 2016-04-21 | 1 | -13/+8 |
| | | |||||
| * | fix nop printing in br_table | Alon Zakai | 2016-04-21 | 1 | -3/+1 |
| | | |||||
| * | fix a reinterpret opcode | Alon Zakai | 2016-04-21 | 1 | -1/+1 |
| | | |||||
| * | update eqz opcodes | Alon Zakai | 2016-04-21 | 1 | -3/+2 |
| | | |||||
| * | name unnamed functions in binaries | Alon Zakai | 2016-04-21 | 1 | -1/+1 |
| | | |||||
| * | function ending fixes | Alon Zakai | 2016-04-21 | 1 | -16/+15 |
| | | |||||
| * | fix file size for binary files read | Alon Zakai | 2016-04-21 | 1 | -1/+1 |
| | | |||||
| * | support not exporting memory in binaries | Alon Zakai | 2016-04-21 | 1 | -2/+5 |
| | | |||||
* | | Move wasm-linker into its own cpp file (#375) | Derek Schuff | 2016-04-21 | 7 | -344/+431 |
|/ | | | | | | | Still making things nicer for #370 Pulling wasm-linker into its own file also necessitated pulling asm_v_wasm.h into a cpp file. It goes into a new lib directory, src/asmjs. No actual code changes in this PR. | ||||
* | Removes wasm-s-parser debug logging from binaryen.idl. (#373) | Yury Delendik | 2016-04-21 | 1 | -1/+1 |
| | | | | | | | Continuation of #345 (see https://github.com/WebAssembly/binaryen/commit/2887883029de293458344a5d564039074d93246e#diff-499c4e70c8aadb9837261ebcc4725f78R262) Currently building of binaryen.js fails with "src/../glue.cpp:102:14: error: no matching constructor for initialization of 'wasm::SExpressionWasmBuilder'" | ||||
* | Move Fatal into utilities.h (#376) | Derek Schuff | 2016-04-21 | 2 | -18/+18 |
| | | | | | Follow-on from #372. Probably we should do even better for error handling, and that might mean a cpp file in support, but for now this is a small improvement. | ||||
* | Factor linker-related functionality of S2WasmBuilder into its own class (#372) | Derek Schuff | 2016-04-21 | 4 | -380/+496 |
| | | | | | This is the first of a couple of refactorings in for #370 No functionality change, and minimal code change to make it work. | ||||
* | optimize --vacuum a little | Alon Zakai | 2016-04-20 | 1 | -0/+8 |
| | |||||
* | do not crash when printing an expression whose function is not known | Alon Zakai | 2016-04-20 | 1 | -1/+4 |
| | |||||
* | run merge-blocks later, so it can optiize simplify-locals output | Alon Zakai | 2016-04-20 | 1 | -1/+1 |
| | |||||
* | add a utility to check for results being used | Alon Zakai | 2016-04-20 | 1 | -0/+31 |
| | |||||
* | Merge pull request #371 from yurydelendik/initarray-mutilple | Yury Delendik | 2016-04-20 | 1 | -10/+14 |
|\ | | | | | Parses more than one entry in the .init_array section. | ||||
| * | Parses more than one entry in the .init_array section. | Yury Delendik | 2016-04-20 | 1 | -10/+14 |
| | | |||||
* | | disable asm2wasm i64 opts until browsers are ready | Alon Zakai | 2016-04-20 | 1 | -0/+2 |
| | | |||||
* | | update binary version to 0xb | Alon Zakai | 2016-04-20 | 1 | -4/+9 |
|/ | |||||
* | extensible type forms, update for design#640 (#367) | Alon Zakai | 2016-04-19 | 1 | -2/+20 |
| | |||||
* | save the module on Walker objects, so passes have an easy way to access the ↵ | Alon Zakai | 2016-04-19 | 1 | -0/+13 |
| | | | | module (#366) | ||||
* | update wasm.js | Alon Zakai | 2016-04-18 | 1 | -2/+2 |
| | |||||
* | grow_memory now returns in units of page size | Alon Zakai | 2016-04-18 | 1 | -1/+1 |
| |