summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
| |
| * support not exporting memory in binariesAlon Zakai2016-04-211-2/+5
| |
* | Move wasm-linker into its own cpp file (#375)Derek Schuff2016-04-219-350/+441
|/ | | | | | | 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 Delendik2016-04-211-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 Schuff2016-04-212-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 Schuff2016-04-214-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.
* Merge pull request #374 from WebAssembly/optsAlon Zakai2016-04-206-22/+62
|\ | | | | A few tiny optimization tweaks
| * optimize --vacuum a littleAlon Zakai2016-04-203-0/+10
| |
| * do not crash when printing an expression whose function is not knownAlon Zakai2016-04-201-1/+4
| |
| * run merge-blocks later, so it can optiize simplify-locals outputAlon Zakai2016-04-203-21/+17
| |
| * add a utility to check for results being usedAlon Zakai2016-04-201-0/+31
|/
* Merge pull request #371 from yurydelendik/initarray-mutilpleYury Delendik2016-04-203-13/+28
|\ | | | | Parses more than one entry in the .init_array section.
| * Parses more than one entry in the .init_array section.Yury Delendik2016-04-203-13/+28
| |
* | Merge pull request #368 from WebAssembly/zero_x_bAlon Zakai2016-04-208-5154/+7028
|\ \ | |/ |/| 0xb updates
| * update wasm.jsAlon Zakai2016-04-201-5070/+4870
| |
| * commentAlon Zakai2016-04-201-1/+1
| |
| * update check.py for the wasm default method now being native with binary supportAlon Zakai2016-04-201-5/+2
| |
| * update emscriptenAlon Zakai2016-04-201-0/+0
| |
| * update testsAlon Zakai2016-04-202-74/+2144
| |
| * disable asm2wasm i64 opts until browsers are readyAlon Zakai2016-04-201-0/+2
| |
| * update binary version to 0xbAlon Zakai2016-04-201-4/+9
|/
* extensible type forms, update for design#640 (#367)Alon Zakai2016-04-191-2/+20
|
* save the module on Walker objects, so passes have an easy way to access the ↵Alon Zakai2016-04-191-0/+13
| | | | module (#366)