summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* add a relooper testAlon Zakai2016-05-052-0/+98
|
* Import emscripten's relooper, port it to the binaryen AST, and provide a C ↵Alon Zakai2016-05-052-2/+310
| | | | | API (#434) also ignore libstdc++ bug in ubsan
* [Linker] Handle archive filesDerek Schuff2016-05-0511-0/+190
| | | | | | | | Add a class to parse archive files. Support linking archive files, with archive semantics (i.e. an archive member is linked in if it satisfies an undefined reference). Archive files must be gnu-format archives containing .s files. Add tests for linking semantics.
* Harmonize the internal opcodes with the binary format (#433)Alon Zakai2016-05-032-32/+72
| | | | | | * harmonize the internal opcodes with the binary format, so they clearly parallel, and also this helps us avoid needing the type to disambiguate * comment on GetLocal in C API
* kitchen sink test for c apiAlon Zakai2016-05-032-0/+531
|
* C API plus testAlon Zakai2016-05-022-0/+39
|
* validate in binaryen shell and on wasm binaries, and fix type checkingAlon Zakai2016-04-296-8/+10
|
* fix size detection on reinterpret operations in binary formatAlon Zakai2016-04-281-2/+2
|
* fix asm2wasm f64->f32->i32 bitcast (#412)Alon Zakai2016-04-283-0/+14
|
* use ONLY hack only for _only files in test/wasm_backendAlon Zakai2016-04-2710-0/+0
|
* Add a testcase.Dan Gohman2016-04-272-0/+17
|
* Update waterfall and LLVM torture tests build to 5780 (#398)Derek Schuff2016-04-26302-6230/+6274
| | | This brings in the fix from LLVM r267511
* Defer creation of CallImports to link time (#395)Derek Schuff2016-04-267-26/+26
| | | s2wasm currently creates a Call AST node if the target is implemented in the current object (thus far assumed to be the final executable) and a CallImport node if not. In preparation for adding additional objects to the link before layout time, we make only Call nodes until link time, and then convert them to CallImport if they are undefined at that time.
* selectify if-elses with no control flow in themAlon Zakai2016-04-258-4154/+3872
|
* optimize returns that flow outAlon Zakai2016-04-2516-3012/+2572
|
* optimize breaks with values in RemoveUnusedBrs, check if their value can ↵Alon Zakai2016-04-251-33/+5
| | | | flow to the target anyhow
* Use Module instead of AllocatingModule in binaryen.js tests (#391)Jan Wolski2016-04-251-1/+1
| | | | | | * Use Module instead of AllocatingModule in binaryen.js tests * include compiled binaryen.js, too
* optimize block and if returns, by merging set_locals that flow out of themAlon Zakai2016-04-248-19203/+18369
|
* run multiple cycles of RemoveUnusedBrsAlon Zakai2016-04-243-6/+4
|
* run optimize-instructions a second time at the endAlon Zakai2016-04-242-1100/+820
|
* get rid of nops in ifsAlon Zakai2016-04-242-0/+26
|
* handle general control flow in RemoveUnusedBrsAlon Zakai2016-04-2410-3197/+2995
|
* vacuum dead code after br_tableAlon Zakai2016-04-242-0/+11
|
* vacuum dead code after unconditional brsAlon Zakai2016-04-246-48/+17
|
* Simplify statics, segments, and relocations (#380)Derek Schuff2016-04-221-1/+1
| | | | Also defer address assignment until layout time in preparation for separating linker objects out from Linker
* ifs in the binary format always have a break scopeAlon Zakai2016-04-211-12/+24
|
* optimize --vacuum a littleAlon Zakai2016-04-202-0/+2
|
* run merge-blocks later, so it can optiize simplify-locals outputAlon Zakai2016-04-202-20/+16
|
* Merge pull request #371 from yurydelendik/initarray-mutilpleYury Delendik2016-04-202-3/+14
|\ | | | | Parses more than one entry in the .init_array section.
| * Parses more than one entry in the .init_array section.Yury Delendik2016-04-202-3/+14
| |
* | update emscriptenAlon Zakai2016-04-201-0/+0
| |
* | update testsAlon Zakai2016-04-202-74/+2144
|/
* update testsAlon Zakai2016-04-183-2/+2
|
* handle dead stores in SimplifyLocalsAlon Zakai2016-04-184-35/+13
|
* create a UnifiedExpressionVisitor for passes that want a single visitor ↵Alon Zakai2016-04-181-1/+1
| | | | function, to avoid confusion with having both visit* and visitExpression in a single pass (#357)
* remove the AllocatingModule class, and just make Module have allocations. ↵Alon Zakai2016-04-181-1/+1
| | | | 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 Zakai2016-04-188-2754/+2754
| | | | names are kept on the Function object (#354)
* Fixes typo in hex number parsing in asm2wasm. (#362)Yury Delendik2016-04-185-0/+40
| | | Fixes #352
* Update waterfall, get rlimit bumpJF Bastien2016-04-151-0/+0
|
* remove excessive wasm-s-parser debug logging (#345)Alon Zakai2016-04-141-1/+1
|
* Generate emscripten dynCall thunks in s2wasm (#342)Derek Schuff2016-04-137-0/+244
| | | | | | | | | | | * Generate emscripten dynCall thunks in s2wasm Part of the usual emscripten glue for asm.js is thunks for calling functions on the module given a function pointer; aka a dynCall. This is implemented via thunks generated on the Module called 'dynCall_<signature>'. This gives support to s2wasm to generate these thunks in the wasm module along with other emscripten glue. It also introduces a flag to s2wasm to make generation of emscripten glue optional.
* drop completely unused locals in ReorderLocalsAlon Zakai2016-04-1111-4142/+0
|
* add reorder-locals testcaseAlon Zakai2016-04-112-0/+22
|
* continue simplifying locals while opportunities present themselvesAlon Zakai2016-04-117-3761/+3361
|
* add simplify-locals testcaseAlon Zakai2016-04-112-0/+394
|
* dyn_cast => dynCastAlon Zakai2016-04-111-1/+1
|
* remove set_locals with no remaining gets in SimplifyLocalsAlon Zakai2016-04-1112-21484/+11614
|
* add more simplify-locals testsAlon Zakai2016-04-112-2/+46
|
* track individual locals in EffectAnalyzerAlon Zakai2016-04-119-19160/+17294
|
* De-recurse traversals (#333)Alon Zakai2016-04-113-2/+20
| | | | | | | | | | | | * refactor core walking to not recurse * add a simplify-locals test * reuse parent's non-branchey scan logic in SimpleExecutionWalker, reduce code duplication * update wasm.js * rename things following comments