summaryrefslogtreecommitdiff
path: root/src/emscripten-optimizer/optimizer-shared.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add Travis builds with sanitizersJF Bastien2016-01-101-16/+5
| | | | | | | | | | | | | | | | 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 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.
* add makeSigning methodAlon Zakai2015-12-051-0/+5
|
* refactoring, and wasm2asm arags and localsAlon Zakai2015-12-011-0/+52
|
* be very careful when converting doubles to ints in asm2wasmAlon Zakai2015-11-281-0/+6
|
* fix detectSign on recursive calls that need minified froundAlon Zakai2015-11-221-4/+4
|
* detect minified fround in detectTypeAlon Zakai2015-11-201-2/+2
|
* detect minified froundAlon Zakai2015-11-201-4/+4
|
* detect seq signAlon Zakai2015-11-201-3/+12
|
* port detectSign from emscripten asm optimizer, and use itAlon Zakai2015-11-171-0/+38
|
* restructure code, put emscripten-optimizer stuff in its own dirAlon Zakai2015-11-091-0/+125