summaryrefslogtreecommitdiff
path: root/src/emscripten-optimizer
Commit message (Collapse)AuthorAgeFilesLines
* Add Travis builds with sanitizersJF Bastien2016-01-104-44/+28
| | | | | | | | | | | | | | | | 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.
* parse for loops in asm2wasm #60Alon Zakai2016-01-042-1/+34
|
* Add a support static libraryJF Bastien2015-12-241-48/+0
| | | | For now I've only moved the color check (and made it check the environment only once, note function local static initialization is thread-safe in C++11). This will make the builds slightly faster and allow us to move platform-specific code out of header files (reducing the amount of #include gunk). I'll eventually move other parts of the code to support, especially the command-line parsing (once it's reusable).
* Change colors.h to isolate and minimize code that isn't compiled on all ↵Andrew Scheidecker2015-12-231-65/+19
| | | | platforms
* Fix a few Windows/VS2013 compile errorsAndrew Scheidecker2015-12-231-0/+14
|
* Fix / uniformize include guardsJF Bastien2015-12-226-12/+22
|
* Fix warnings found by GCCJF Bastien2015-12-221-16/+16
| | | | | | 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.
* Fix uninitialize variable warningJF Bastien2015-12-221-1/+3
|
* Fix the license headersJF Bastien2015-12-219-8/+139
| | | | 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.
* don't quote keys in object printing when not necessaryAlon Zakai2015-12-071-3/+14
|
* emit heap views in wasm2asmAlon Zakai2015-12-061-0/+7
|
* if is not statableAlon Zakai2015-12-061-1/+1
|
* add makeSigning methodAlon Zakai2015-12-052-0/+7
|
* wasm2asm fixesAlon Zakai2015-12-041-0/+6
|
* fixes for wasm2asmAlon Zakai2015-12-031-1/+1
|
* refactoring, and wasm2asm arags and localsAlon Zakai2015-12-013-6/+116
|
* finish first pass on wasm2asmAlon Zakai2015-12-011-0/+6
|
* wasm2asm progressAlon Zakai2015-12-011-0/+6
|
* be very careful when converting doubles to ints in asm2wasmAlon Zakai2015-11-282-1/+7
|
* wasm2asm progressAlon Zakai2015-11-271-0/+8
|
* fix makeCallAlon Zakai2015-11-271-3/+3
|
* wasm2asm progressAlon Zakai2015-11-261-0/+7
|
* wasm2asm progressAlon Zakai2015-11-261-0/+10
|
* wasm2asm progressAlon Zakai2015-11-261-1/+1
|
* wasm2asm progressAlon Zakai2015-11-241-0/+7
|
* add deStat from emscripten optimizerAlon Zakai2015-11-241-0/+5
|
* fix detectSign on recursive calls that need minified froundAlon Zakai2015-11-221-4/+4
|
* detect minified fround in detectTypeAlon Zakai2015-11-202-3/+3
|
* detect minified froundAlon Zakai2015-11-202-5/+5
|
* detect seq signAlon Zakai2015-11-201-3/+12
|
* parser update from emscriptenAlon Zakai2015-11-171-0/+10
|
* port detectSign from emscripten asm optimizer, and use itAlon Zakai2015-11-172-0/+47
|
* remove unneeded emscripten optimizer.cpp fileAlon Zakai2015-11-131-3851/+0
|
* pass supportAlon Zakai2015-11-131-26/+22
|
* restructure code, put emscripten-optimizer stuff in its own dirAlon Zakai2015-11-0910-0/+7210