Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | optimize llvm.cttz.i32 into i32.ctz | Alon Zakai | 2016-04-08 | 2 | -0/+2 | |
| | ||||||
* | use strncpy #283 | Alon Zakai | 2016-03-28 | 2 | -6/+7 | |
| | ||||||
* | Don't reinsert in set when interning strings. | Michael Bebenita | 2016-03-15 | 1 | -1/+1 | |
| | ||||||
* | Support start | JF Bastien | 2016-02-05 | 1 | -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 sanitizers | JF Bastien | 2016-01-10 | 4 | -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 #60 | Alon Zakai | 2016-01-04 | 2 | -1/+34 | |
| | ||||||
* | Add a support static library | JF Bastien | 2015-12-24 | 1 | -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 Scheidecker | 2015-12-23 | 1 | -65/+19 | |
| | | | | platforms | |||||
* | Fix a few Windows/VS2013 compile errors | Andrew Scheidecker | 2015-12-23 | 1 | -0/+14 | |
| | ||||||
* | Fix / uniformize include guards | JF Bastien | 2015-12-22 | 6 | -12/+22 | |
| | ||||||
* | Fix warnings found by GCC | JF Bastien | 2015-12-22 | 1 | -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 warning | JF Bastien | 2015-12-22 | 1 | -1/+3 | |
| | ||||||
* | Fix the license headers | JF Bastien | 2015-12-21 | 9 | -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 necessary | Alon Zakai | 2015-12-07 | 1 | -3/+14 | |
| | ||||||
* | emit heap views in wasm2asm | Alon Zakai | 2015-12-06 | 1 | -0/+7 | |
| | ||||||
* | if is not statable | Alon Zakai | 2015-12-06 | 1 | -1/+1 | |
| | ||||||
* | add makeSigning method | Alon Zakai | 2015-12-05 | 2 | -0/+7 | |
| | ||||||
* | wasm2asm fixes | Alon Zakai | 2015-12-04 | 1 | -0/+6 | |
| | ||||||
* | fixes for wasm2asm | Alon Zakai | 2015-12-03 | 1 | -1/+1 | |
| | ||||||
* | refactoring, and wasm2asm arags and locals | Alon Zakai | 2015-12-01 | 3 | -6/+116 | |
| | ||||||
* | finish first pass on wasm2asm | Alon Zakai | 2015-12-01 | 1 | -0/+6 | |
| | ||||||
* | wasm2asm progress | Alon Zakai | 2015-12-01 | 1 | -0/+6 | |
| | ||||||
* | be very careful when converting doubles to ints in asm2wasm | Alon Zakai | 2015-11-28 | 2 | -1/+7 | |
| | ||||||
* | wasm2asm progress | Alon Zakai | 2015-11-27 | 1 | -0/+8 | |
| | ||||||
* | fix makeCall | Alon Zakai | 2015-11-27 | 1 | -3/+3 | |
| | ||||||
* | wasm2asm progress | Alon Zakai | 2015-11-26 | 1 | -0/+7 | |
| | ||||||
* | wasm2asm progress | Alon Zakai | 2015-11-26 | 1 | -0/+10 | |
| | ||||||
* | wasm2asm progress | Alon Zakai | 2015-11-26 | 1 | -1/+1 | |
| | ||||||
* | wasm2asm progress | Alon Zakai | 2015-11-24 | 1 | -0/+7 | |
| | ||||||
* | add deStat from emscripten optimizer | Alon Zakai | 2015-11-24 | 1 | -0/+5 | |
| | ||||||
* | fix detectSign on recursive calls that need minified fround | Alon Zakai | 2015-11-22 | 1 | -4/+4 | |
| | ||||||
* | detect minified fround in detectType | Alon Zakai | 2015-11-20 | 2 | -3/+3 | |
| | ||||||
* | detect minified fround | Alon Zakai | 2015-11-20 | 2 | -5/+5 | |
| | ||||||
* | detect seq sign | Alon Zakai | 2015-11-20 | 1 | -3/+12 | |
| | ||||||
* | parser update from emscripten | Alon Zakai | 2015-11-17 | 1 | -0/+10 | |
| | ||||||
* | port detectSign from emscripten asm optimizer, and use it | Alon Zakai | 2015-11-17 | 2 | -0/+47 | |
| | ||||||
* | remove unneeded emscripten optimizer.cpp file | Alon Zakai | 2015-11-13 | 1 | -3851/+0 | |
| | ||||||
* | pass support | Alon Zakai | 2015-11-13 | 1 | -26/+22 | |
| | ||||||
* | restructure code, put emscripten-optimizer stuff in its own dir | Alon Zakai | 2015-11-09 | 10 | -0/+7210 | |