Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Use LLVM style static polymorphism for WasmVisitors. | Michael Bebenita | 2016-01-13 | 1 | -126/+131 | |
| | | ||||||
| * | A more generic compiler pass system. | Michael Bebenita | 2016-01-13 | 1 | -86/+92 | |
| | | ||||||
* | | The break operation may have a value, and must with the v8 encoding. | Douglas Crosher | 2016-01-18 | 1 | -2/+2 | |
| | | ||||||
* | | initial work on wasm-dis | Alon Zakai | 2016-01-13 | 1 | -0/+1 | |
| | | ||||||
* | | avoid unportable sizes in wasm.h | Alon Zakai | 2016-01-13 | 1 | -2/+2 | |
|/ | ||||||
* | refactor FunctionType to always be accessed from the Module's central store, ↵ | Alon Zakai | 2016-01-11 | 1 | -2/+6 | |
| | | | | which is necessary for simple binary writing | |||||
* | Add Travis builds with sanitizers | JF Bastien | 2016-01-10 | 1 | -2/+3 | |
| | | | | | | | | | | | | | | | | 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. | |||||
* | fix default being a br in switch #70 | Alon Zakai | 2016-01-07 | 1 | -1/+1 | |
| | ||||||
* | 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 | |
| | ||||||
* | print infinity properly #71 | Alon Zakai | 2016-01-06 | 1 | -0/+4 | |
| | ||||||
* | fix missing slash in reinterpret/i* #73 | Alon Zakai | 2016-01-06 | 1 | -1/+1 | |
| | ||||||
* | s2wasm: load/store swap offset/align params | JF Bastien | 2016-01-06 | 1 | -6/+6 | |
| | | | | | | | | | These should probably be commutable so humans don't have to remember which order to read/write things in, but there's pushback and this really doesn't matter so fix it here, bikeshed on github. This will require an associated fix in sexpr-wasm's GCC torture test failure list. Ref: https://github.com/WebAssembly/sexpr-wasm-prototype/issues/17 Ref: https://github.com/WebAssembly/spec/pull/205 | |||||
* | do not print a toplevel block in functions if we don't need one #32 | Alon Zakai | 2016-01-05 | 1 | -1/+10 | |
| | ||||||
* | Fix a few Windows/VS2013 compile errors | Andrew Scheidecker | 2015-12-23 | 1 | -0/+1 | |
| | ||||||
* | Fix / uniformize include guards | JF Bastien | 2015-12-22 | 1 | -3/+9 | |
| | ||||||
* | Fix warnings found by GCC | JF Bastien | 2015-12-22 | 1 | -0/+3 | |
| | | | | | | My previous patch addressed all LLVM warnings, this one addresses all the GCC ones as well (mostly signed / unsigned mix). The patch also turns on -Wall -Werror. | |||||
* | Add missing virtual dtor | JF Bastien | 2015-12-22 | 1 | -0/+1 | |
| | | | | Deleting a Pass* wasn't doing the right thing. | |||||
* | s2wasm: add outfile | JF Bastien | 2015-12-22 | 1 | -0/+2 | |
| | | | | Use some C++ in a few places. I'll propagate similar changes to the rest of the codebase later. I also need to turn off colors when outputting to a file (isatty on stdout doesn't do that with -o) but I'll do it in a separate PR because it'll touch more files. | |||||
* | Fix the license headers | JF Bastien | 2015-12-21 | 1 | -1/+15 | |
| | | | | This applies Apache 2.0 properly (as far as our lawyers have told me). We can do this early since all of the code was written by Alon Zakai. | |||||
* | remove Label, which was removed from the spec | Alon Zakai | 2015-12-18 | 1 | -40/+19 | |
| | ||||||
* | start to emit metadata from s2wasm | Alon Zakai | 2015-12-14 | 1 | -0/+6 | |
| | ||||||
* | more escaping | Alon Zakai | 2015-12-12 | 1 | -3/+3 | |
| | ||||||
* | more escaping | Alon Zakai | 2015-12-12 | 1 | -1/+3 | |
| | ||||||
* | finish escaping and add many more .s files | Alon Zakai | 2015-12-12 | 1 | -2/+7 | |
| | ||||||
* | more escaping | Alon Zakai | 2015-12-12 | 1 | -1/+15 | |
| | ||||||
* | fix memory_size printing | Alon Zakai | 2015-12-12 | 1 | -1/+1 | |
| | ||||||
* | share operands in a base class for all calls | Alon Zakai | 2015-12-12 | 1 | -6/+11 | |
| | ||||||
* | comment | Alon Zakai | 2015-11-27 | 1 | -2/+3 | |
| | ||||||
* | handle no default when printing switch | Alon Zakai | 2015-11-27 | 1 | -2/+3 | |
| | ||||||
* | unify convert/compare into unary/binary, and do a pre-pass in s-expression ↵ | Alon Zakai | 2015-11-27 | 1 | -122/+80 | |
| | | | | parser for function types, to fix new assertions that notice some missing types | |||||
* | fix case printing | Alon Zakai | 2015-11-22 | 1 | -1/+1 | |
| | ||||||
* | clean up import double space | Alon Zakai | 2015-11-21 | 1 | -1/+1 | |
| | ||||||
* | clean up br printing | Alon Zakai | 2015-11-21 | 1 | -0/+5 | |
| | ||||||
* | br_if | Alon Zakai | 2015-11-20 | 1 | -3/+12 | |
| | ||||||
* | missing word | Alon Zakai | 2015-11-19 | 1 | -1/+1 | |
| | ||||||
* | mark host types | Alon Zakai | 2015-11-18 | 1 | -0/+14 | |
| | ||||||
* | fix switch printing | Alon Zakai | 2015-11-16 | 1 | -3/+4 | |
| | ||||||
* | comments | Alon Zakai | 2015-11-15 | 1 | -0/+15 | |
| | ||||||
* | pass support | Alon Zakai | 2015-11-13 | 1 | -5/+5 | |
| | ||||||
* | Merge branch 'binaryen' | Alon Zakai | 2015-11-12 | 1 | -6/+17 | |
|\ | ||||||
| * | max memory is 32-bit, for now | Alon Zakai | 2015-11-12 | 1 | -1/+1 | |
| | | ||||||
| * | add simple example | Alon Zakai | 2015-11-11 | 1 | -5/+16 | |
| | | ||||||
* | | comment | Alon Zakai | 2015-11-11 | 1 | -1/+2 | |
|/ | ||||||
* | move validation to a side .h file, with a full WasmWalker | Alon Zakai | 2015-11-11 | 1 | -80/+46 | |
| | ||||||
* | don't allow direct access to the vectors on the Module object | Alon Zakai | 2015-11-11 | 1 | -3/+3 | |
| | ||||||
* | comment | Alon Zakai | 2015-11-11 | 1 | -1/+2 | |
| | ||||||
* | don't store caseMap in Switch, it's a pure optimization | Alon Zakai | 2015-11-11 | 1 | -11/+4 | |
| | ||||||
* | break => br | Alon Zakai | 2015-11-11 | 1 | -1/+1 | |
| | ||||||
* | unreachable | Alon Zakai | 2015-11-11 | 1 | -1/+16 | |
| |