summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
* fix invalidation logic in SimplifyLocals, visit each node as we hit it, do ↵Alon Zakai2016-04-072-20/+18
| | | | not walk it to look for invalidating elements that are children, we already saw them
* update testsAlon Zakai2016-04-0712-38342/+32828
|
* fix effect invalidation logicAlon Zakai2016-04-071-21/+21
|
* add more simplify-locals testingAlon Zakai2016-04-072-4/+299
|
* add vacuum passAlon Zakai2016-04-072-0/+20
|
* optimize if-eqzAlon Zakai2016-04-068-2880/+2461
|
* Fix output of initializer list metadataDerek Schuff2016-04-061-1/+1
| | | | | | * Fix output of initializer list metadata Turns out trailing commas aren't valid JSON
* Fix s2wasm handling of aliased functionsDerek Schuff2016-04-062-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 s2wasmDerek Schuff2016-04-0619-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 pointerDerek Schuff2016-04-0669-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 initializersDerek Schuff2016-04-0668-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 testcaseAlon Zakai2016-04-051-1/+1
|
* add testing for binaryen.jsAlon Zakai2016-04-041-0/+1
|
* more idl additions fix idl testAlon Zakai2016-04-041-1/+2
|
* idl test fixesAlon Zakai2016-04-041-2/+2
|
* more idlAlon Zakai2016-04-041-1/+15
|
* add necessary idl constructorsAlon Zakai2016-04-041-0/+2
|
* update exampleAlon Zakai2016-04-041-1/+1
|
* add simpler constructor for SExpressionWasmBuilderAlon Zakai2016-04-041-0/+27
|
* add apis for accessing module elementsAlon Zakai2016-04-044-6/+6
|
* Merge pull request #309 from WebAssembly/update-4893Alon Zakai2016-04-0418-411/+1438
|\ | | | | Update to waterfall 4893
| * Update to waterfall 4893JF Bastien2016-04-0418-411/+1438
| | | | | | | | New failure with: [trap final > memory: 18446744073709551600 > 65524]
* | update emscriptenAlon Zakai2016-04-011-0/+0
| |
* | handle minified tempDoublePtrAlon Zakai2016-04-013-0/+44
| |
* | optimize bitcast patterns in asm2wasmAlon Zakai2016-04-012-56/+8
| |
* | add a test for bitcast patterns in asm2wasmAlon Zakai2016-04-013-1/+92
| |
* | add testing for vanilla llvm + emcc without the hacks, as things are now ↵Alon Zakai2016-03-302-0/+7
| | | | | | | | starting to work, and add a full/real hello world testcase
* | avoid hardcoded function pointer addresses in indirect_call.cpp testAlon Zakai2016-03-302-10/+2
| |
* | update emscripten submoduleAlon Zakai2016-03-301-0/+0
| |
* | Merge pull request #295 from tzik/grow_memory_fixAlon Zakai2016-03-302-2/+6
|\ \ | | | | | | Fix grow_memory translation on s2wasm
| * | Fix grow_memory translation on s2wasmtzik2016-03-302-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 s2wasmAlon Zakai2016-03-292-18/+19
| | |
* | | use ensureFunctionType in s2wasm, to ensure consistent function type namesAlon Zakai2016-03-292-23/+21
| | |
* | | update emscripten submoduleAlon Zakai2016-03-291-0/+0
| | |
* | | update emscripten submoduleAlon Zakai2016-03-291-0/+0
| |/ |/|
* | update spec tests, and new memory page size usageAlon Zakai2016-03-251-0/+0
| |
* | Update LLVM tests and waterfall to 4425Derek Schuff2016-03-23255-10449/+10341
| |
* | add memory growth testcaseAlon Zakai2016-03-223-0/+43
| |
* | only reuse nameless blocks in blockify in asm2wasm - if they are named, they ↵Alon Zakai2016-03-223-0/+101
| | | | | | | | can be broken out of, which is bad for our loop constructs
* | update emscripten submoduleAlon Zakai2016-03-211-0/+0
| |
* | use eqz in asm2wasmAlon Zakai2016-03-2110-988/+494
| |
* | add memory growth asm2wasm testAlon Zakai2016-03-213-0/+24883
| |
* | fix unit testcaseAlon Zakai2016-03-213-11/+17
| |
* | update emscriptenAlon Zakai2016-03-201-0/+0
| |
* | add option for imprecise asm2wasm optsAlon Zakai2016-03-206-0/+44441
| |
* | update spec tests and support eqzAlon Zakai2016-03-191-0/+0
| |
* | improve method namesAlon Zakai2016-03-181-0/+0
| |
* | add explicit memory export supportAlon Zakai2016-03-1572-0/+72
| |
* | write imports as separate sectionAlon Zakai2016-03-152-5/+6
| |
* | finish wasm-binary method and update emscriptenAlon Zakai2016-03-121-0/+0
| |