Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | fix invalidation logic in SimplifyLocals, visit each node as we hit it, do ↵ | Alon Zakai | 2016-04-07 | 2 | -20/+18 | |
| | | | | not walk it to look for invalidating elements that are children, we already saw them | |||||
* | update tests | Alon Zakai | 2016-04-07 | 12 | -38342/+32828 | |
| | ||||||
* | fix effect invalidation logic | Alon Zakai | 2016-04-07 | 1 | -21/+21 | |
| | ||||||
* | add more simplify-locals testing | Alon Zakai | 2016-04-07 | 2 | -4/+299 | |
| | ||||||
* | add vacuum pass | Alon Zakai | 2016-04-07 | 2 | -0/+20 | |
| | ||||||
* | optimize if-eqz | Alon Zakai | 2016-04-06 | 8 | -2880/+2461 | |
| | ||||||
* | Fix output of initializer list metadata | Derek Schuff | 2016-04-06 | 1 | -1/+1 | |
| | | | | | | * Fix output of initializer list metadata Turns out trailing commas aren't valid JSON | |||||
* | Fix s2wasm handling of aliased functions | Derek Schuff | 2016-04-06 | 2 | -4/+10 | |
| | | | | | | This fixes 2 bugs in s2wasm: * Handle address-taken aliases (i.e. when they appear in relocations), by looking up and subsituting the address of the aliasee. * Skip whitespace at the top of the scan() loop instead of requiring it to match. When there are multiple alias declarations in a row, the match("FUNCTION") at the end of an alias delcaration consumes the whitespace at the beginning of the next line, causing it to fail to match the tab character specified in the match pattern at the top of the loop. | |||||
* | Allocate __dso_handle in s2wasm | Derek Schuff | 2016-04-06 | 19 | -34/+56 | |
| | | | | | | Unlike asm.js modules, wasm modules cannot have imported/extern objects. So allocate __dso_handle (which is traditionally defined in a crtbegin or similar toolchain file linked with the user code) in s2wasm. | |||||
* | Properly align the stack pointer | Derek Schuff | 2016-04-06 | 69 | -169/+263 | |
| | | | | | | | | | | | | * Properly align the stack pointer By default (if no global base is given) the global base is 1, which seems wrong. In this case the stack pointer gets an address of 1, which is unaligned and definitely wrong. So, start the global base at 0 instead of 1 by default and align the stack pointer. Also factor allocation of statics into a function. * unconditionally allocate stack pointer; explicitly reserve address 0 | |||||
* | Handle static initializers | Derek Schuff | 2016-04-06 | 68 | -66/+104 | |
| | | | | | | | LLVM emits static initializers in the ELF style, by placing pointers to the constructor functions in a .init_array section. Handle this in s2wasm for now by converting these to standard emscripten metadata. | |||||
* | fix example testcase | Alon Zakai | 2016-04-05 | 1 | -1/+1 | |
| | ||||||
* | add testing for binaryen.js | Alon Zakai | 2016-04-04 | 1 | -0/+1 | |
| | ||||||
* | more idl additions fix idl test | Alon Zakai | 2016-04-04 | 1 | -1/+2 | |
| | ||||||
* | idl test fixes | Alon Zakai | 2016-04-04 | 1 | -2/+2 | |
| | ||||||
* | more idl | Alon Zakai | 2016-04-04 | 1 | -1/+15 | |
| | ||||||
* | add necessary idl constructors | Alon Zakai | 2016-04-04 | 1 | -0/+2 | |
| | ||||||
* | update example | Alon Zakai | 2016-04-04 | 1 | -1/+1 | |
| | ||||||
* | add simpler constructor for SExpressionWasmBuilder | Alon Zakai | 2016-04-04 | 1 | -0/+27 | |
| | ||||||
* | add apis for accessing module elements | Alon Zakai | 2016-04-04 | 4 | -6/+6 | |
| | ||||||
* | Merge pull request #309 from WebAssembly/update-4893 | Alon Zakai | 2016-04-04 | 18 | -411/+1438 | |
|\ | | | | | Update to waterfall 4893 | |||||
| * | Update to waterfall 4893 | JF Bastien | 2016-04-04 | 18 | -411/+1438 | |
| | | | | | | | | New failure with: [trap final > memory: 18446744073709551600 > 65524] | |||||
* | | update emscripten | Alon Zakai | 2016-04-01 | 1 | -0/+0 | |
| | | ||||||
* | | handle minified tempDoublePtr | Alon Zakai | 2016-04-01 | 3 | -0/+44 | |
| | | ||||||
* | | optimize bitcast patterns in asm2wasm | Alon Zakai | 2016-04-01 | 2 | -56/+8 | |
| | | ||||||
* | | add a test for bitcast patterns in asm2wasm | Alon Zakai | 2016-04-01 | 3 | -1/+92 | |
| | | ||||||
* | | add testing for vanilla llvm + emcc without the hacks, as things are now ↵ | Alon Zakai | 2016-03-30 | 2 | -0/+7 | |
| | | | | | | | | starting to work, and add a full/real hello world testcase | |||||
* | | avoid hardcoded function pointer addresses in indirect_call.cpp test | Alon Zakai | 2016-03-30 | 2 | -10/+2 | |
| | | ||||||
* | | update emscripten submodule | Alon Zakai | 2016-03-30 | 1 | -0/+0 | |
| | | ||||||
* | | Merge pull request #295 from tzik/grow_memory_fix | Alon Zakai | 2016-03-30 | 2 | -2/+6 | |
|\ \ | | | | | | | Fix grow_memory translation on s2wasm | |||||
| * | | Fix grow_memory translation on s2wasm | tzik | 2016-03-30 | 2 | -2/+6 | |
| | | | | | | | | | | | | | | | s2wasm used to mistranslate grow_memory operation in .s into memory_size in .wast, and this CL fixes it. | |||||
* | | | add explicit function types for indirect call targtets in s2wasm | Alon Zakai | 2016-03-29 | 2 | -18/+19 | |
| | | | ||||||
* | | | use ensureFunctionType in s2wasm, to ensure consistent function type names | Alon Zakai | 2016-03-29 | 2 | -23/+21 | |
| | | | ||||||
* | | | update emscripten submodule | Alon Zakai | 2016-03-29 | 1 | -0/+0 | |
| | | | ||||||
* | | | update emscripten submodule | Alon Zakai | 2016-03-29 | 1 | -0/+0 | |
| |/ |/| | ||||||
* | | update spec tests, and new memory page size usage | Alon Zakai | 2016-03-25 | 1 | -0/+0 | |
| | | ||||||
* | | Update LLVM tests and waterfall to 4425 | Derek Schuff | 2016-03-23 | 255 | -10449/+10341 | |
| | | ||||||
* | | add memory growth testcase | Alon Zakai | 2016-03-22 | 3 | -0/+43 | |
| | | ||||||
* | | only reuse nameless blocks in blockify in asm2wasm - if they are named, they ↵ | Alon Zakai | 2016-03-22 | 3 | -0/+101 | |
| | | | | | | | | can be broken out of, which is bad for our loop constructs | |||||
* | | update emscripten submodule | Alon Zakai | 2016-03-21 | 1 | -0/+0 | |
| | | ||||||
* | | use eqz in asm2wasm | Alon Zakai | 2016-03-21 | 10 | -988/+494 | |
| | | ||||||
* | | add memory growth asm2wasm test | Alon Zakai | 2016-03-21 | 3 | -0/+24883 | |
| | | ||||||
* | | fix unit testcase | Alon Zakai | 2016-03-21 | 3 | -11/+17 | |
| | | ||||||
* | | update emscripten | Alon Zakai | 2016-03-20 | 1 | -0/+0 | |
| | | ||||||
* | | add option for imprecise asm2wasm opts | Alon Zakai | 2016-03-20 | 6 | -0/+44441 | |
| | | ||||||
* | | update spec tests and support eqz | Alon Zakai | 2016-03-19 | 1 | -0/+0 | |
| | | ||||||
* | | improve method names | Alon Zakai | 2016-03-18 | 1 | -0/+0 | |
| | | ||||||
* | | add explicit memory export support | Alon Zakai | 2016-03-15 | 72 | -0/+72 | |
| | | ||||||
* | | write imports as separate section | Alon Zakai | 2016-03-15 | 2 | -5/+6 | |
| | | ||||||
* | | finish wasm-binary method and update emscripten | Alon Zakai | 2016-03-12 | 1 | -0/+0 | |
| | |