summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* use arities on breaksAlon Zakai2016-04-251-4/+4
|
* Separate LinkerObject from Linker (#383)Derek Schuff2016-04-254-141/+171
| | | | | Create the LinkerObject class, which has a wasm Module and represents the module plus the information needed to relocate and lay it out. Each Linker owns a "main executable" LinkerObject, and S2WasmBuilder requires a LinkerObject instead of just a Module because LLVM asm files require relocation/linking before they represent a full wasm module. No merging support yet, but the real functionality for #370 is coming soon.
* Use Module instead of AllocatingModule in binaryen.js tests (#391)Jan Wolski2016-04-253-11017/+22473
| | | | | | * Use Module instead of AllocatingModule in binaryen.js tests * include compiled binaryen.js, too
* update build-js.shAlon Zakai2016-04-241-1/+1
|
* Merge pull request #387 from WebAssembly/block-returns-niceAlon Zakai2016-04-2413-24872/+27531
|\ | | | | Optimize block and if returns
| * update wasm.jsAlon Zakai2016-04-242-5592/+8856
| |
| * optimize block and if returns, by merging set_locals that flow out of themAlon Zakai2016-04-249-19275/+18669
| |
| * comment on replaceCurrentAlon Zakai2016-04-241-1/+4
| |
| * provide the current expression to noteNonLinearAlon Zakai2016-04-241-2/+2
| |
| * fix EffectAnalyzer, blocks and loops do not branch by themselvesAlon Zakai2016-04-241-2/+0
|/
* Merge pull request #389 from WebAssembly/fixesAlon Zakai2016-04-242-21/+13
|\ | | | | Thread fix
| * make optimized build optimized againAlon Zakai2016-04-241-2/+1
| |
| * go back to using a mutex in mixed arena, until we get the atomics workingAlon Zakai2016-04-241-19/+12
|/
* Merge pull request #386 from WebAssembly/improve-remove-brsAlon Zakai2016-04-2415-4331/+3930
|\ | | | | Improve RemoveBrs
| * run multiple cycles of RemoveUnusedBrsAlon Zakai2016-04-244-7/+19
| |
| * run optimize-instructions a second time at the endAlon Zakai2016-04-243-1100/+821
| |
| * get rid of nops in ifsAlon Zakai2016-04-243-0/+46
| |
| * handle general control flow in RemoveUnusedBrsAlon Zakai2016-04-2411-3256/+3084
| |
| * vacuum dead code after br_tableAlon Zakai2016-04-243-1/+13
| |
| * vacuum dead code after unconditional brsAlon Zakai2016-04-247-51/+31
|/
* allow allocations on side threads (#365)Alon Zakai2016-04-242-10/+68
|
* build cleanups (#385)Alon Zakai2016-04-244-96/+16
|
* Add missing algorithm and string headersJF Bastien2016-04-231-0/+2
| | | As in #382.
* Simplify statics, segments, and relocations (#380)Derek Schuff2016-04-225-46/+79
| | | | Also defer address assignment until layout time in preparation for separating linker objects out from Linker
* fix conversion opcodes (#381)Alon Zakai2016-04-222-60/+60
|
* Merge pull request #379 from WebAssembly/zero_x_bAlon Zakai2016-04-223-7/+7
|\ | | | | More 0xb fixes
| * br_table offsets are int32s, not lebsAlon Zakai2016-04-223-7/+7
| |
| * put segments in right orderAlon Zakai2016-04-212-23/+25
| |
* | put segments in right order (#378)Alon Zakai2016-04-212-23/+25
| |
* | Merge pull request #377 from WebAssembly/zero_x_bAlon Zakai2016-04-218-3905/+4080
|\| | | | | More 0xb work
| * update wasm.jsAlon Zakai2016-04-211-2883/+2913
| |
| * function toplevels is a listAlon Zakai2016-04-211-6/+6
| |
| * block helper utilsAlon Zakai2016-04-211-1/+14
| |
| * update wasm.jsAlon Zakai2016-04-211-118/+145
| |
| * ifs in the binary format always have a break scopeAlon Zakai2016-04-212-24/+47
| |
| * update wasm.jsAlon Zakai2016-04-212-2863/+2888
| |
| * fix if and else bodies, which can be listsAlon Zakai2016-04-211-13/+11
| |
| * fix loop binary parsingAlon Zakai2016-04-212-5/+21
| |
| * if condition is popped from before, not pre-order inlineAlon Zakai2016-04-211-3/+3
| |
| * update wasm.jsAlon Zakai2016-04-211-100/+96
| |
| * update br_table in binary formatAlon Zakai2016-04-211-13/+8
| |
| * fix nop printing in br_tableAlon Zakai2016-04-211-3/+1
| |
| * fix spidermonkifyAlon Zakai2016-04-211-5/+8
| |
| * fix a reinterpret opcodeAlon Zakai2016-04-212-2/+2
| |
| * update wasm.jsAlon Zakai2016-04-211-3642/+3688
| |
| * update eqz opcodesAlon Zakai2016-04-211-3/+2
| |
| * spidermonkify debugging commentAlon Zakai2016-04-211-1/+5
| |
| * name unnamed functions in binariesAlon Zakai2016-04-211-1/+1
| |
| * function ending fixesAlon Zakai2016-04-211-16/+15
| |
| * fix file size for binary files readAlon Zakai2016-04-211-1/+1
| |