summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
* quote names in s-format that need itAlon Zakai2016-07-052-7/+7
|
* Relooper switch support (#617)Alon Zakai2016-07-022-2/+52
| | | | | | * support switches in relooper and c api * update relooper fuzzer for switches
* update emscripten submoduleAlon Zakai2016-06-291-0/+0
|
* add c api method to interpret a module, calling its start method (#601)Alon Zakai2016-06-252-0/+34
|
* finalize blocks properly in relooper (#600)Alon Zakai2016-06-242-0/+25
|
* add BinaryenExpressionPrint to c api (#599)Alon Zakai2016-06-242-0/+5
|
* test only c api examples; c++ api is internal and unstable, it is tested by ↵Alon Zakai2016-06-212-67/+0
| | | | our own codebase
* run precompute after every optimize-instructionsAlon Zakai2016-06-182-264/+48
|
* add a precompute passAlon Zakai2016-06-1812-296/+117
|
* Do not create dyncall thunks for functions with i64 results or params (#586)Derek Schuff2016-06-144-68/+30
| | | | | | Dyncall thunks are meant to be used with emscripten on the web; however on the web, functions with i64 results or params are not allowed to be exported.
* Add mode to wasm validator to check for web-environment constraints (#584)Derek Schuff2016-06-143-0/+4
| | | | | | | In the web embedding, modules are not allowed to import or export functions which have i64 params or return values. Add a mode to the validator to check for this, and add flags to s2wasm and wasm-as to enable or disable this check. Also add tests.
* Merge pull request #583 from WebAssembly/br-moreAlon Zakai2016-06-1113-96/+238
|\ | | | | Fix and improve br optimizations
| * run remove-unused-brs after simplify-localsAlon Zakai2016-06-118-104/+80
| |
| * fix br_if with value optimization in remove-unused-brsAlon Zakai2016-06-117-0/+166
| |
* | s2wasm: Validate the result module (#574)Derek Schuff2016-06-101-0/+3
|/ | | | Add an s2wasm option `--no-validate` to disable validation for debugging purposes. Also fix several validation errors by adding calls to `finalize()` after creating expressions, and ensuring that an import is created earlier in `Linker::getImportThunk`.
* add a pass to remove memory segments (#580)Alon Zakai2016-06-082-0/+9
|
* 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
|