summaryrefslogtreecommitdiff
path: root/src/wasm.h
Commit message (Collapse)AuthorAgeFilesLines
...
| * Use LLVM style static polymorphism for WasmVisitors.Michael Bebenita2016-01-131-126/+131
| |
| * A more generic compiler pass system.Michael Bebenita2016-01-131-86/+92
| |
* | The break operation may have a value, and must with the v8 encoding.Douglas Crosher2016-01-181-2/+2
| |
* | initial work on wasm-disAlon Zakai2016-01-131-0/+1
| |
* | avoid unportable sizes in wasm.hAlon Zakai2016-01-131-2/+2
|/
* refactor FunctionType to always be accessed from the Module's central store, ↵Alon Zakai2016-01-111-2/+6
| | | | which is necessary for simple binary writing
* Add Travis builds with sanitizersJF Bastien2016-01-101-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 #70Alon Zakai2016-01-071-1/+1
|
* fix switch br/case printing #70Alon Zakai2016-01-061-1/+5
|
* Print nan literals as `nan:0x...` rather than `nan:...` to match the spec.Dan Gohman2016-01-061-2/+2
|
* print infinity properly #71Alon Zakai2016-01-061-0/+4
|
* fix missing slash in reinterpret/i* #73Alon Zakai2016-01-061-1/+1
|
* s2wasm: load/store swap offset/align paramsJF Bastien2016-01-061-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 #32Alon Zakai2016-01-051-1/+10
|
* Fix a few Windows/VS2013 compile errorsAndrew Scheidecker2015-12-231-0/+1
|
* Fix / uniformize include guardsJF Bastien2015-12-221-3/+9
|
* Fix warnings found by GCCJF Bastien2015-12-221-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 dtorJF Bastien2015-12-221-0/+1
| | | | Deleting a Pass* wasn't doing the right thing.
* s2wasm: add outfileJF Bastien2015-12-221-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 headersJF Bastien2015-12-211-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 specAlon Zakai2015-12-181-40/+19
|
* start to emit metadata from s2wasmAlon Zakai2015-12-141-0/+6
|
* more escapingAlon Zakai2015-12-121-3/+3
|
* more escapingAlon Zakai2015-12-121-1/+3
|
* finish escaping and add many more .s filesAlon Zakai2015-12-121-2/+7
|
* more escapingAlon Zakai2015-12-121-1/+15
|
* fix memory_size printingAlon Zakai2015-12-121-1/+1
|
* share operands in a base class for all callsAlon Zakai2015-12-121-6/+11
|
* commentAlon Zakai2015-11-271-2/+3
|
* handle no default when printing switchAlon Zakai2015-11-271-2/+3
|
* unify convert/compare into unary/binary, and do a pre-pass in s-expression ↵Alon Zakai2015-11-271-122/+80
| | | | parser for function types, to fix new assertions that notice some missing types
* fix case printingAlon Zakai2015-11-221-1/+1
|
* clean up import double spaceAlon Zakai2015-11-211-1/+1
|
* clean up br printingAlon Zakai2015-11-211-0/+5
|
* br_ifAlon Zakai2015-11-201-3/+12
|
* missing wordAlon Zakai2015-11-191-1/+1
|
* mark host typesAlon Zakai2015-11-181-0/+14
|
* fix switch printingAlon Zakai2015-11-161-3/+4
|
* commentsAlon Zakai2015-11-151-0/+15
|
* pass supportAlon Zakai2015-11-131-5/+5
|
* Merge branch 'binaryen'Alon Zakai2015-11-121-6/+17
|\
| * max memory is 32-bit, for nowAlon Zakai2015-11-121-1/+1
| |
| * add simple exampleAlon Zakai2015-11-111-5/+16
| |
* | commentAlon Zakai2015-11-111-1/+2
|/
* move validation to a side .h file, with a full WasmWalkerAlon Zakai2015-11-111-80/+46
|
* don't allow direct access to the vectors on the Module objectAlon Zakai2015-11-111-3/+3
|
* commentAlon Zakai2015-11-111-1/+2
|
* don't store caseMap in Switch, it's a pure optimizationAlon Zakai2015-11-111-11/+4
|
* break => brAlon Zakai2015-11-111-1/+1
|
* unreachableAlon Zakai2015-11-111-1/+16
|