Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | in assert tests, verify nans are identical | Alon Zakai | 2016-02-02 | 1 | -2/+15 |
| | |||||
* | Make Literal's ctors explicit | JF Bastien | 2016-02-02 | 1 | -9/+9 |
| | | | | This tends to avoid silly mistakes, which I'm worried about after adding an explicit ctor with the enum WasmType parameter. See 'C++ Coding Standards: 101 Rules, Guidelines, and Best Practices' rule #40 'avoid providing implicit conversion'. | ||||
* | Shell: fix --entry parameter numbers | JF Bastien | 2016-02-02 | 1 | -4/+12 |
| | | | | When running the shell with --entry it was assumed that the signature had zero parameters. This isn't true for main, so look at the function's parameter list and construct a zero-initialized arguments vector of the right types. This fixes a few failures, some of which were hiding other failures. | ||||
* | Use command-line & waterfall for binaryen-shell | JF Bastien | 2016-01-20 | 1 | -92/+52 |
| | |||||
* | add assert on wasm segments | Alon Zakai | 2016-01-14 | 1 | -0/+1 |
| | |||||
* | --entry option in binaryen-shell, which lets you call an entry point. also ↵ | Alon Zakai | 2016-01-14 | 1 | -3/+24 |
| | | | | support exit() | ||||
* | Avoid potential setjmp clobber | JF Bastien | 2016-01-13 | 1 | -65/+77 |
| | | | | | | | -Wextra adds checks for potential clobbers which triggered in binaryen-shell.cpp: might be clobbered by ‘longjmp’ or ‘vfork’ [-Werror=clobbered] The fix moves the setjmp/longjmp using code into another function, and passes in potentially-clobbered values from the parent frame so they can't be clobbered. We could also mark them as volatile but that's a big hammer. | ||||
* | use simplify-locals by default | Alon Zakai | 2016-01-09 | 1 | -0/+1 |
| | |||||
* | add -O option to shell that runs default optimization passes | Alon Zakai | 2016-01-08 | 1 | -1/+6 |
| | |||||
* | add some s-parser debugging | Alon Zakai | 2015-12-29 | 1 | -1/+1 |
| | |||||
* | Fix warnings found by GCC | JF Bastien | 2015-12-22 | 1 | -1/+2 |
| | | | | | | 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 the license headers | JF Bastien | 2015-12-21 | 1 | -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. | ||||
* | update spec test interpreter to new spectest module name | Alon Zakai | 2015-12-01 | 1 | -2/+2 |
| | |||||
* | refactor wasm.js so that it will be able to support multiple wasm loading ↵ | Alon Zakai | 2015-11-28 | 1 | -0/+4 |
| | | | | methods | ||||
* | ensure memory is initialized to 0 in native shell | Alon Zakai | 2015-11-27 | 1 | -1/+4 |
| | |||||
* | unify convert/compare into unary/binary, and do a pre-pass in s-expression ↵ | Alon Zakai | 2015-11-27 | 1 | -2/+3 |
| | | | | parser for function types, to fix new assertions that notice some missing types | ||||
* | create an AllocatingModule which handles allocation for its elements | Alon Zakai | 2015-11-24 | 1 | -2/+2 |
| | |||||
* | print logging prints to stderr | Alon Zakai | 2015-11-22 | 1 | -3/+3 |
| | |||||
* | add printing in module validity tests | Alon Zakai | 2015-11-20 | 1 | -2/+10 |
| | |||||
* | annotate traps | Alon Zakai | 2015-11-17 | 1 | -1/+2 |
| | |||||
* | docs | Alon Zakai | 2015-11-13 | 1 | -0/+4 |
| | |||||
* | add descriptions to passes | Alon Zakai | 2015-11-13 | 1 | -1/+1 |
| | |||||
* | add shell tests | Alon Zakai | 2015-11-13 | 1 | -3/+6 |
| | |||||
* | pass support | Alon Zakai | 2015-11-13 | 1 | -3/+45 |
| | |||||
* | improve printing | Alon Zakai | 2015-11-11 | 1 | -2/+4 |
| | |||||
* | update env var | Alon Zakai | 2015-11-11 | 1 | -1/+1 |
| | |||||
* | argument handling in shell | Alon Zakai | 2015-11-11 | 1 | -0/+279 |