Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | remove old globalAllocator | Alon Zakai | 2016-04-26 | 1 | -4/+0 |
| | |||||
* | remove the AllocatingModule class, and just make Module have allocations. ↵ | Alon Zakai | 2016-04-18 | 1 | -3/+3 |
| | | | | the distinction is not really that useful, and passes do need to allocate, so we would need to pass around AllocatingModules all around anyhow. (#361) | ||||
* | index locals, so that get_local and set_local have just an index, and local ↵ | Alon Zakai | 2016-04-18 | 1 | -2/+2 |
| | | | | names are kept on the Function object (#354) | ||||
* | Add a debug mode to PassRunner, which logs out times (#344) | Alon Zakai | 2016-04-14 | 1 | -0/+1 |
| | | | | | | * add a debug mode to PassRunner, which logs out times * address comments | ||||
* | remove excessive wasm-s-parser debug logging (#345) | Alon Zakai | 2016-04-14 | 1 | -2/+2 |
| | |||||
* | refactor default optimization passes to a central location | Alon Zakai | 2016-04-11 | 1 | -8/+6 |
| | |||||
* | dyn_cast => dynCast | Alon Zakai | 2016-04-11 | 1 | -2/+2 |
| | |||||
* | add vacuum pass | Alon Zakai | 2016-04-07 | 1 | -1/+2 |
| | |||||
* | optimize if-eqz | Alon Zakai | 2016-04-06 | 1 | -0/+1 |
| | |||||
* | refactor shell interface into its own file | Alon Zakai | 2016-04-04 | 1 | -165/+2 |
| | |||||
* | clean up old comments | Alon Zakai | 2016-04-04 | 1 | -2/+0 |
| | |||||
* | add apis for accessing module elements | Alon Zakai | 2016-04-04 | 1 | -1/+1 |
| | |||||
* | refactor file flags into enums | Alon Zakai | 2016-03-31 | 1 | -1/+1 |
| | |||||
* | set the binary bit on files we need to open in binary mode | Alon Zakai | 2016-03-31 | 1 | -1/+1 |
| | |||||
* | avoid alignof for the sake of vs | Alon Zakai | 2016-03-29 | 1 | -2/+2 |
| | |||||
* | Clean up unused variables warnings: | Jukka Jylänki | 2016-03-28 | 1 | -3/+3 |
| | | | | | | src\binaryen-shell.cpp(262): warning C4101: 'x': unreferenced local variable src\binaryen-shell.cpp(290): warning C4101: 'e': unreferenced local variable src\binaryen-shell.cpp(310): warning C4101: 'e': unreferenced local variable | ||||
* | Cleanup redundant '> 0' check in src\binaryen-shell.cpp(251): warning C4804: ↵ | Jukka Jylänki | 2016-03-28 | 1 | -1/+1 |
| | | | | '>': unsafe use of type 'bool' in operation | ||||
* | Clean up truncating cast warnings: | Jukka Jylänki | 2016-03-28 | 1 | -3/+3 |
| | | | | | | src\binaryen-shell.cpp(181): warning C4244: 'argument': conversion from 'int64_t' to 'int8_t', possible loss of data src\binaryen-shell.cpp(182): warning C4244: 'argument': conversion from 'int64_t' to 'int16_t', possible loss of data src\binaryen-shell.cpp(183): warning C4244: 'argument': conversion from 'int64_t' to 'int32_t', possible loss of data | ||||
* | Make initial and max memory sizes be in pages instead of bytes | Derek Schuff | 2016-03-09 | 1 | -2/+2 |
| | | | | | | | The AST and everything that uses it treats the values as pages. Javascript continues to use bytes. This matches v8 and sexpr-wasm, and the consensus from live discussion and PR209 in the spec. | ||||
* | document that env.exit support is a hack for torture tests | Alon Zakai | 2016-02-22 | 1 | -0/+1 |
| | |||||
* | debugging tweaks | Alon Zakai | 2016-02-21 | 1 | -1/+0 |
| | |||||
* | Reorder locals. | Michael | 2016-02-19 | 1 | -1/+1 |
| | |||||
* | remove --print-before and --print-after flags, since we now have --print | Alon Zakai | 2016-02-17 | 1 | -34/+2 |
| | |||||
* | add wasm-printing.h | Alon Zakai | 2016-02-17 | 1 | -0/+1 |
| | |||||
* | move printing to a pass | Alon Zakai | 2016-02-17 | 1 | -3/+3 |
| | |||||
* | refactor binaryen-shell to accept a wast that begins with a module ↵ | Alon Zakai | 2016-02-12 | 1 | -47/+61 |
| | | | | invalidity test | ||||
* | longjmp -> throw | JF Bastien | 2016-02-09 | 1 | -18/+18 |
| | | | | Older tsan doesn't like longjmp. Use throw. | ||||
* | NFC: improve minSize rationale | JF Bastien | 2016-02-04 | 1 | -2/+4 |
| | | | | As discussed in https://github.com/WebAssembly/binaryen/pull/167#issuecomment-179496231 | ||||
* | Merge pull request #152 from WebAssembly/float-refactor | Alon Zakai | 2016-02-03 | 1 | -2/+15 |
|\ | | | | | Float refactoring and nan comparison change | ||||
| * | in assert tests, verify nans are identical | Alon Zakai | 2016-02-02 | 1 | -2/+15 |
| | | |||||
* | | Shell: don't use unaligned memory | JF Bastien | 2016-02-03 | 1 | -27/+76 |
|/ | |||||
* | 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 |
| |