Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | add a call assert and debugging | Alon Zakai | 2016-01-13 | 1 | -0/+3 | |
| | | ||||||
| * | fix maybeVisit logic | Alon Zakai | 2016-01-13 | 1 | -5/+6 | |
| | | ||||||
| * | use unsigned types in wasm-binary.h | Alon Zakai | 2016-01-13 | 1 | -17/+24 | |
| | | ||||||
| * | more debugging | Alon Zakai | 2016-01-13 | 1 | -0/+43 | |
| | | ||||||
| * | avoid char casting bug in wasm-binary | Alon Zakai | 2016-01-13 | 1 | -1/+1 | |
| | | ||||||
| * | fix LEB128 bug | Alon Zakai | 2016-01-13 | 1 | -1/+1 | |
| | | ||||||
| * | add debugging for wasm-binary.h | Alon Zakai | 2016-01-13 | 3 | -11/+50 | |
| | | ||||||
| * | initial work on wasm-dis | Alon Zakai | 2016-01-13 | 3 | -16/+592 | |
| | | ||||||
| * | avoid unportable sizes in wasm.h | Alon Zakai | 2016-01-13 | 1 | -2/+2 | |
| | | ||||||
* | | Avoid potential setjmp clobber | JF Bastien | 2016-01-13 | 1 | -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 llvm | Alon Zakai | 2016-01-13 | 1 | -1/+7 | |
| | ||||||
* | implement br_if in wasm-as | Alon Zakai | 2016-01-12 | 1 | -2/+2 | |
| | ||||||
* | implement switch in wasm-as | Alon Zakai | 2016-01-12 | 1 | -2/+12 | |
| | ||||||
* | fix some macros in wasm-as | Alon Zakai | 2016-01-12 | 1 | -0/+3 | |
| | ||||||
* | ensure function types for all functions in wasm-as, as the binary format ↵ | Alon Zakai | 2016-01-12 | 1 | -1/+15 | |
| | | | | requires it | |||||
* | update s2wasm for new block and loop format in .s files from llvm #97 | Alon Zakai | 2016-01-12 | 1 | -37/+45 | |
| | ||||||
* | refactor FunctionType to always be accessed from the Module's central store, ↵ | Alon Zakai | 2016-01-11 | 8 | -69/+55 | |
| | | | | which is necessary for simple binary writing | |||||
* | finish initial pass on wasm-binary, and add wasm-as tool #13 | Alon Zakai | 2016-01-11 | 2 | -139/+243 | |
| | ||||||
* | Merge pull request #93 from WebAssembly/asm2wasm-use-command-line | Alon Zakai | 2016-01-11 | 8 | -58/+91 | |
|\ | | | | | asm2wasm: use support's command-line | |||||
| * | asm2wasm: use support's command-line | JF Bastien | 2016-01-11 | 8 | -58/+91 | |
| | | ||||||
* | | emit data segments in binary #13 | Alon Zakai | 2016-01-11 | 1 | -16/+24 | |
| | | ||||||
* | | implement LEB128 writing in binary format support #13 | Alon Zakai | 2016-01-11 | 1 | -10/+60 | |
| | | ||||||
* | | ignore @FUNCTION | Alon Zakai | 2016-01-11 | 1 | -2/+12 | |
| | | ||||||
* | | Check for negative overflow. | JF Bastien | 2016-01-11 | 1 | -30/+50 | |
| | | ||||||
* | | Safe integer: assert before converting double to integer. | JF Bastien | 2016-01-10 | 1 | -0/+5 | |
| | | ||||||
* | | Asm2WasmBuilder: allow building u/s int32. | JF Bastien | 2016-01-10 | 1 | -2/+3 | |
| | | ||||||
* | | Add Travis builds with sanitizers | JF Bastien | 2016-01-10 | 10 | -57/+165 | |
|/ | | | | | | | | | | | | | | | | This triggers 5 independent build / test runs: - clang, no sanitizer; - clang, UB sanitizer; - clang, address sanitizer (disabled for now); - clang, thread sanitizer (disabled for now); - GCC. Enabling UBSan led to these changes: - Fix a bunch of undefined behavior throughout the code base. - Fix some tests that relied on that undefined behavior. - Make some of the tests easier to debug by printing their command line. - Add ubsan blacklist to work around libstdc++ bug. - Example testcase also needs sanitizer because libsupport.a uses it. | |||||
* | use simplify-locals by default | Alon Zakai | 2016-01-09 | 3 | -0/+3 | |
| | ||||||
* | start work on SimplifyLocals | Alon Zakai | 2016-01-09 | 1 | -0/+43 | |
| | ||||||
* | add -O option to shell that runs default optimization passes | Alon Zakai | 2016-01-08 | 1 | -1/+6 | |
| | ||||||
* | RemoveUnneededBrs: remove all code in a block after a break | Alon Zakai | 2016-01-08 | 1 | -0/+7 | |
| | ||||||
* | improve RemoveUnusedBrs: unify an if-else's brs into one br outside | Alon Zakai | 2016-01-08 | 1 | -24/+39 | |
| | ||||||
* | s2wasm: only create output file when successful | JF Bastien | 2016-01-08 | 1 | -1/+1 | |
| | | | Previously the file was created but was empty when s2wasm failed. This caused sexpr-wasm to be sad because it tried to use an empty file. | |||||
* | optimize if_else in RemoveUnusedBrs | Alon Zakai | 2016-01-08 | 1 | -8/+33 | |
| | ||||||
* | optimize RemoveUnusedBrs some more - handle values #84 | Alon Zakai | 2016-01-07 | 1 | -2/+6 | |
| | ||||||
* | Handle .skip | JF Bastien | 2016-01-07 | 1 | -1/+1 | |
| | | | | LLVM will generate this now. | |||||
* | handle .zero x, y | Alon Zakai | 2016-01-07 | 1 | -1/+6 | |
| | ||||||
* | Merge branch 'private-label-names' | Alon Zakai | 2016-01-07 | 1 | -3/+3 | |
|\ | | | | | | | | | | | Conflicts: test/llvm_autogenerated/cfg-stackify.wast test/llvm_autogenerated/switch.wast | |||||
| * | LLVM is now emitting private labels with a ".L" prefix. Update binaryen. | Dan Gohman | 2016-01-07 | 1 | -3/+3 | |
| | | | | | | | | | | The .L prefix convention is admittedly not the prettiest convention possible, but it is widely used in the ELF ecosystem. | |||||
* | | fix default being a br in switch #70 | Alon Zakai | 2016-01-07 | 2 | -7/+2 | |
|/ | ||||||
* | fix switch parsing and semantics, for br in the table | Alon Zakai | 2016-01-06 | 2 | -9/+5 | |
| | ||||||
* | fix switch br/case printing #70 | Alon Zakai | 2016-01-06 | 1 | -1/+5 | |
| | ||||||
* | Print nan literals as `nan:0x...` rather than `nan:...` to match the spec. | Dan Gohman | 2016-01-06 | 1 | -2/+2 | |
| | ||||||
* | Merge branch 'sections-visibilties' | Alon Zakai | 2016-01-06 | 1 | -1/+1 | |
|\ | ||||||
| * | handle/ignore visibilities in s2wasm | Alon Zakai | 2016-01-06 | 1 | -1/+1 | |
| | | ||||||
* | | get proper full type, including result, for indirect call types #77 | Alon Zakai | 2016-01-06 | 1 | -3/+1 | |
| | | ||||||
* | | print infinity properly #71 | Alon Zakai | 2016-01-06 | 1 | -0/+4 | |
| | | ||||||
* | | fix type of ne and neg in s2wasm #72 | Alon Zakai | 2016-01-06 | 1 | -2/+2 | |
| | | ||||||
* | | fix missing slash in reinterpret/i* #73 | Alon Zakai | 2016-01-06 | 1 | -1/+1 | |
|/ | ||||||
* | set function type of imports in s2wasm #68 | Alon Zakai | 2016-01-06 | 2 | -6/+31 | |
| |