summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #104 from WebAssembly/more-tortureAlon Zakai2016-01-142-3/+28
|\ | | | | More torture
| * add continues in s-parserAlon Zakai2016-01-141-0/+3
| |
| * add assert on wasm segmentsAlon Zakai2016-01-141-0/+1
| |
| * --entry option in binaryen-shell, which lets you call an entry point. also ↵Alon Zakai2016-01-141-3/+24
| | | | | | | | support exit()
* | Merge pull request #100 from WebAssembly/wasm-disAlon Zakai2016-01-144-61/+824
|\ \ | |/ |/| wasm-dis
| * improve for loopsAlon Zakai2016-01-141-7/+7
| |
| * fix type of const values from binaryAlon Zakai2016-01-141-0/+1
| |
| * add missing types in binary readingAlon Zakai2016-01-141-4/+17
| |
| * use std::powAlon Zakai2016-01-141-2/+2
| |
| * add a constant for natural alignment in the binary formatAlon Zakai2016-01-141-2/+3
| |
| * improve a for loopAlon Zakai2016-01-141-1/+1
| |
| * minor binary updates following commentsAlon Zakai2016-01-141-3/+3
| |
| * commentsAlon Zakai2016-01-141-2/+2
| |
| * fix an LEB128 bugAlon Zakai2016-01-141-1/+1
| |
| * add local assertionsAlon Zakai2016-01-141-0/+2
| |
| * break/switch fixesAlon Zakai2016-01-141-1/+9
| |
| * break assertAlon Zakai2016-01-141-0/+3
| |
| * add locations for recursion debuggingAlon Zakai2016-01-141-4/+4
| |
| * fix binary writing of CallIndirectAlon Zakai2016-01-141-1/+1
| |
| * fix binary writing of BrIfAlon Zakai2016-01-141-1/+1
| |
| * fix recursion debuggingAlon Zakai2016-01-141-6/+6
| |
| * artisinal debuggingAlon Zakai2016-01-141-85/+104
| |
| * more binary debuggingAlon Zakai2016-01-141-46/+55
| |
| * fix call_importAlon Zakai2016-01-141-3/+4
| |
| * fix function size offsettingAlon Zakai2016-01-131-4/+5
| |
| * more binary fixesAlon Zakai2016-01-131-4/+4
| |
| * fix locals in binary formatAlon Zakai2016-01-131-8/+16
| |
| * fix binary skipping bugAlon Zakai2016-01-131-1/+5
| |
| * fix buffer writing bugAlon Zakai2016-01-131-1/+3
| |
| * more debuggingAlon Zakai2016-01-131-0/+3
| |
| * functions must be parsed after all their targets are knownAlon Zakai2016-01-131-8/+27
| |
| * add a call assert and debuggingAlon Zakai2016-01-131-0/+3
| |
| * fix maybeVisit logicAlon Zakai2016-01-131-5/+6
| |
| * use unsigned types in wasm-binary.hAlon Zakai2016-01-131-17/+24
| |
| * more debuggingAlon Zakai2016-01-131-0/+43
| |
| * avoid char casting bug in wasm-binaryAlon Zakai2016-01-131-1/+1
| |
| * fix LEB128 bugAlon Zakai2016-01-131-1/+1
| |
| * add debugging for wasm-binary.hAlon Zakai2016-01-133-11/+50
| |
| * initial work on wasm-disAlon Zakai2016-01-133-16/+592
| |
| * avoid unportable sizes in wasm.hAlon Zakai2016-01-131-2/+2
| |
* | Avoid potential setjmp clobberJF Bastien2016-01-131-65/+77
|/ | | | | | | -Wextra adds checks for potential clobbers which triggered in binaryen-shell.cpp: might be clobbered by ‘longjmp’ or ‘vfork’ [-Werror=clobbered] The fix moves the setjmp/longjmp using code into another function, and passes in potentially-clobbered values from the parent frame so they can't be clobbered. We could also mark them as volatile but that's a big hammer.
* some function parsing changes in s2wasm, due to upstream llvmAlon Zakai2016-01-131-1/+7
|
* implement br_if in wasm-asAlon Zakai2016-01-121-2/+2
|
* implement switch in wasm-asAlon Zakai2016-01-121-2/+12
|
* fix some macros in wasm-asAlon Zakai2016-01-121-0/+3
|
* ensure function types for all functions in wasm-as, as the binary format ↵Alon Zakai2016-01-121-1/+15
| | | | requires it
* update s2wasm for new block and loop format in .s files from llvm #97Alon Zakai2016-01-121-37/+45
|
* refactor FunctionType to always be accessed from the Module's central store, ↵Alon Zakai2016-01-118-69/+55
| | | | which is necessary for simple binary writing
* finish initial pass on wasm-binary, and add wasm-as tool #13Alon Zakai2016-01-112-139/+243
|
* Merge pull request #93 from WebAssembly/asm2wasm-use-command-lineAlon Zakai2016-01-118-58/+91
|\ | | | | asm2wasm: use support's command-line