summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Update waterfall build to 6633 (#513)Derek Schuff2016-05-17248-6287/+5510
| | | | New expected failures are mostly due to a change in the way the torture tests are compiled (https://github.com/WebAssembly/waterfall/commit/160171e51dbd37724a11c902b84f8f1fa86e9a4e)
* Merge pull request #511 from WebAssembly/metrics-betterAlon Zakai2016-05-162-3/+6
|\ | | | | Metrics improvements
| * add total vars (non-param locals) to metricsAlon Zakai2016-05-162-2/+5
| |
| * emit total in metrics in a way that shows its diffs tooAlon Zakai2016-05-161-1/+1
| |
* | remove dead get_locals in vacuumAlon Zakai2016-05-1610-954/+381
|/
* Merge pull request #507 from WebAssembly/coalesce-localsAlon Zakai2016-05-1617-25628/+23531
|\ | | | | Coalesce locals
| * add cfg-building traversal and a pass to coalesce locals using itAlon Zakai2016-05-1517-25628/+23531
| |
* | don't emit an extra endline in s2wasm (#506) (#508)Alon Zakai2016-05-1669-69/+69
| |
* | Update c-api-kitchen-sink.c (#504)BSalita2016-05-151-1/+1
|/
* allow not providing a name for function types in c api (#501)Alon Zakai2016-05-132-0/+5
|
* test fixesAlon Zakai2016-05-134-6/+6
|
* use exceptions consistently to report input errorsAlon Zakai2016-05-121-1/+1
|
* update spec tests (#478)Alon Zakai2016-05-111-0/+0
|
* Update waterfall and torture tests to 6423 (#476)Derek Schuff2016-05-11477-36697/+37276
|
* VS warning fix in c-api-kitchen-sink.c, double constants shouldn't be used ↵BSalita2016-05-111-5/+4
| | | | as float args (#473)
* Add a pass to order functions by their use frequency. (#452)Michael Bebenita2016-05-112-0/+21
|
* update spec testsAlon Zakai2016-05-091-0/+0
|
* Be more careful when loading i64 in wasm-js glue, we had a bug where the ↵Alon Zakai2016-05-082-0/+19
| | | | bits were trampled before we read them (#460)
* fix relooper fuzz testcase to be valid old-style c (#459)Alon Zakai2016-05-071-6/+9
|
* add a fuzzer for the relooper through the C APIAlon Zakai2016-05-062-0/+522
|
* add a return type parameter to call and call_import in the C API. we need it ↵Alon Zakai2016-05-062-23/+35
| | | | since we don't know the type while building functions
* Fix BreakSeeker for switch default targets. (#447)Michael Bebenita2016-05-062-0/+30
|
* add reading and writing binaries to C API (#443)Alon Zakai2016-05-052-0/+41
|
* Merge pull request #439 from WebAssembly/c-api-moreAlon Zakai2016-05-052-335/+354
|\ | | | | Validation in C API
| * add validation to the C api, and fix things that uncovered in the C API testsAlon Zakai2016-05-052-335/+354
| |
* | Merge pull request #436 from WebAssembly/fix-switchAlon Zakai2016-05-052-0/+38
|\ \ | | | | | | Fix switches in simplify-locals
| * | clear sinkables on unoptimizable blocks, as they have a control flow mergeAlon Zakai2016-05-052-0/+38
| |/
* / [Linker] Make repeated passes over archive members (#440)Derek Schuff2016-05-054-7/+27
|/ | | | | | | | | An archive member can depend on any other archive member, so adding a member to the link can introduce new undefined references that must be satisfied. The linker must continue to iterate over the members until nothing new is added to the link.
* improve testAlon Zakai2016-05-052-3/+3
|
* add optimization to c api, and so that we can find all passes in the c api ↵Alon Zakai2016-05-052-0/+151
| | | | library, make it dynamic
* 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
|