summaryrefslogtreecommitdiff
path: root/src/emscripten-optimizer
Commit message (Collapse)AuthorAgeFilesLines
...
* optimize llvm.cttz.i32 into i32.ctzAlon Zakai2016-04-082-0/+2
|
* use strncpy #283Alon Zakai2016-03-282-6/+7
|
* Don't reinsert in set when interning strings.Michael Bebenita2016-03-151-1/+1
|
* Support startJF Bastien2016-02-051-2/+2
| | | | | | | | | | | | | | As spec'd in: https://github.com/WebAssembly/design/pull/495 And discussed in: https://github.com/WebAssembly/spec/issues/231 This will make it simpler and more uniform to add a start entry point. s2wasm is the right place to add start because it'll eventually need to do other basic setup, e.g. put code in start to setup the stack, as dschuff is doing in: https://github.com/WebAssembly/binaryen/pull/179 Or rather, the linker is the right place and s2wasm happens to act as our linker right now.
* 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