summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Fixed missing type assignment of host operations in s2wasm (#572)Alexander Meißner2016-06-062-0/+22
|
* make call_indirect type a name, so that it is not a dependency on the ↵Alon Zakai2016-06-031-1/+1
| | | | module, which would break consistency and make some parallel passes tricky (#568)
* Do not generate duplicate import thunks at link time. (#569)Derek Schuff2016-06-033-2/+22
| | | | | Previously every address-take of an import would cause a new thunk to be generated. Now check in getImportThunk if the thunk exists already and just return it if so.
* Update waterfall to 7268 (#566)Derek Schuff2016-06-03999-2503/+4051
| | | | | Also update torture-s tests. This brings in the .functype directives and causes 2 more tests to pass.
* add nm pass, that prints function names and sizes (#562)Alon Zakai2016-06-032-0/+61
|
* Fix leak of FunctionType from parseFuncType when not already in the module ↵Derek Schuff2016-06-031-3/+3
| | | | | (#563) Pass ownership into the wasm module.
* add OptimizingIncrementalModuleBuilder for faster incremental module ↵Alon Zakai2016-06-022-4/+4
| | | | building + optimizing
* Update waterfall to 7426 (#559)Derek Schuff2016-06-021045-48289/+48823
| | | | | Also update torture tests. This brings in a clang with the compiler-rt libraries, for https://github.com/WebAssembly/binaryen/pull/557
* Generate thunks for address-taken imports (#554)Derek Schuff2016-06-023-0/+229
| | | | | | | | | | | Under emscripten, C code can take the address of a function implemented in Javascript (which is exposed via an import in wasm). Because imports do not have linear memory address in wasm, we need to generate a thunk to be the target of the indirect call; it call the import directly. This is facilited by a new .s directive (.functype) which declares the types of functions which are declared but not defined. Fixes https://github.com/WebAssembly/binaryen/issues/392
* missing test fileAlon Zakai2016-06-011-0/+2
|
* if we use the zero-init value of a local, we cannot coalesce it with a param ↵Alon Zakai2016-06-017-2/+129
| | | | (#556)
* handle duplicate exports in asm2wasmAlon Zakai2016-05-315-1/+24
|
* refactor walk logic into walk* and doWalk* methods, for a more regular API ↵Alon Zakai2016-05-301-1/+1
| | | | that is clearer where it should be overridden (#551)
* add a pass that eliminates duplicate functionsAlon Zakai2016-05-286-77/+1576
|
* canonicalize the order in reorder-locals, by using first-appearance to break ↵Alon Zakai2016-05-288-854/+854
| | | | ties
* note number of functions in metricsAlon Zakai2016-05-281-0/+1
|
* Allows parsing of debug information in .S filesYury Delendik2016-05-262-0/+358
| | | | Currently it ignores this information. Also it allows parse files with -asm-verbose=true.
* Merge pull request #543 from WebAssembly/fix-merge-blocksAlon Zakai2016-05-253-537/+453
|\ | | | | Fix merge blocks on named blocks
| * add a merge-block testAlon Zakai2016-05-252-0/+28
| |
| * fix a merge-blocks bug where we merged named blocksAlon Zakai2016-05-253-537/+425
| |
* | Add remove unused functions pass. (#463)Michael Bebenita2016-05-252-0/+77
|/
* update spec tests, and handle the new .fail. tests (#541)Alon Zakai2016-05-251-0/+0
|
* move blocks outside in merge-blocks so that they can be merged laterAlon Zakai2016-05-2411-219/+1493
|
* add a pass to drop return values in set_local and store (#539)Alon Zakai2016-05-232-0/+40
|
* fix isResultUsed bug with ifsAlon Zakai2016-05-234-158/+303
|
* Avoid a redundant return in dynCall functions. (#533)Dan Gohman2016-05-234-37/+23
|
* dead code elimination pass (#536)Alon Zakai2016-05-226-654/+1066
|
* don't depend on asm.js type detection in binary formation in asm2wasm, use ↵Alon Zakai2016-05-225-0/+65
| | | | the full asm global info we have (#535)
* Update s2wasm for LLVM changes, and regenerate tests. (#532)Dan Gohman2016-05-2076-6058/+7358
|
* notice only branches out in EffectAnalyzer, internal control flow can be ↵Alon Zakai2016-05-199-2357/+2275
| | | | ignored (#530)
* Allow implicit function returns. (#529)Dan Gohman2016-05-192-0/+29
|
* vacuum the top of functions tooAlon Zakai2016-05-194-34/+21
|
* vacuum after passes that create garbage; this makes the total time betterAlon Zakai2016-05-199-1440/+1407
|
* add --no-opt testing to asm2wasmAlon Zakai2016-05-1914-0/+114694
|
* vacuum away everything not tied downAlon Zakai2016-05-1913-502/+230
|
* Avoid double dollarsigns in s2wasm local names. (#527)Dan Gohman2016-05-1950-3552/+3552
| | | | | | | | | * Avoid double dollarsigns in s2wasm local names. Recognize '$' as part of the .s syntax for register names, and exclude it when forming the wasm local name. This changes names like "$$0" to "$0". * Fix a comment.
* use separate internal opcodes for binary variantsAlon Zakai2016-05-184-52/+52
|
* use separate internal opcodes for unary variantsAlon Zakai2016-05-181-11/+11
|
* spec test updates, and many validation fixesAlon Zakai2016-05-185-383/+348
|
* don't emit extra unnecessary blocks for loops in binary format (#523)Alon Zakai2016-05-172-10/+19
|
* Merge pull request #518 from WebAssembly/true-learningAlon Zakai2016-05-171-18/+18
|\ | | | | Activate true learning in local coalescing
| * learn using multiple generationsAlon Zakai2016-05-171-18/+18
| |
* | Print a newline at the end of the METADATA line. (#521)Dan Gohman2016-05-1768-68/+68
| |
* | Rename $discard to $drop in the .s syntax.Dan Gohman2016-05-17648-7071/+7071
|/ | | | | This is shorter and is more consistent with terminology being used to discuss WebAssembly.
* add a learning local coalescerAlon Zakai2016-05-172-0/+1274
|
* 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
|/