Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | quote names in s-format that need it | Alon Zakai | 2016-07-05 | 2 | -7/+7 | |
| | ||||||
* | Relooper switch support (#617) | Alon Zakai | 2016-07-02 | 2 | -2/+52 | |
| | | | | | | * support switches in relooper and c api * update relooper fuzzer for switches | |||||
* | update emscripten submodule | Alon Zakai | 2016-06-29 | 1 | -0/+0 | |
| | ||||||
* | add c api method to interpret a module, calling its start method (#601) | Alon Zakai | 2016-06-25 | 2 | -0/+34 | |
| | ||||||
* | finalize blocks properly in relooper (#600) | Alon Zakai | 2016-06-24 | 2 | -0/+25 | |
| | ||||||
* | add BinaryenExpressionPrint to c api (#599) | Alon Zakai | 2016-06-24 | 2 | -0/+5 | |
| | ||||||
* | test only c api examples; c++ api is internal and unstable, it is tested by ↵ | Alon Zakai | 2016-06-21 | 2 | -67/+0 | |
| | | | | our own codebase | |||||
* | run precompute after every optimize-instructions | Alon Zakai | 2016-06-18 | 2 | -264/+48 | |
| | ||||||
* | add a precompute pass | Alon Zakai | 2016-06-18 | 12 | -296/+117 | |
| | ||||||
* | Do not create dyncall thunks for functions with i64 results or params (#586) | Derek Schuff | 2016-06-14 | 4 | -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 Schuff | 2016-06-14 | 3 | -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-more | Alon Zakai | 2016-06-11 | 13 | -96/+238 | |
|\ | | | | | Fix and improve br optimizations | |||||
| * | run remove-unused-brs after simplify-locals | Alon Zakai | 2016-06-11 | 8 | -104/+80 | |
| | | ||||||
| * | fix br_if with value optimization in remove-unused-brs | Alon Zakai | 2016-06-11 | 7 | -0/+166 | |
| | | ||||||
* | | s2wasm: Validate the result module (#574) | Derek Schuff | 2016-06-10 | 1 | -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 Zakai | 2016-06-08 | 2 | -0/+9 | |
| | ||||||
* | Fixed missing type assignment of host operations in s2wasm (#572) | Alexander Meißner | 2016-06-06 | 2 | -0/+22 | |
| | ||||||
* | make call_indirect type a name, so that it is not a dependency on the ↵ | Alon Zakai | 2016-06-03 | 1 | -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 Schuff | 2016-06-03 | 3 | -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 Schuff | 2016-06-03 | 999 | -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 Zakai | 2016-06-03 | 2 | -0/+61 | |
| | ||||||
* | Fix leak of FunctionType from parseFuncType when not already in the module ↵ | Derek Schuff | 2016-06-03 | 1 | -3/+3 | |
| | | | | | (#563) Pass ownership into the wasm module. | |||||
* | add OptimizingIncrementalModuleBuilder for faster incremental module ↵ | Alon Zakai | 2016-06-02 | 2 | -4/+4 | |
| | | | | building + optimizing | |||||
* | Update waterfall to 7426 (#559) | Derek Schuff | 2016-06-02 | 1045 | -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 Schuff | 2016-06-02 | 3 | -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 file | Alon Zakai | 2016-06-01 | 1 | -0/+2 | |
| | ||||||
* | if we use the zero-init value of a local, we cannot coalesce it with a param ↵ | Alon Zakai | 2016-06-01 | 7 | -2/+129 | |
| | | | | (#556) | |||||
* | handle duplicate exports in asm2wasm | Alon Zakai | 2016-05-31 | 5 | -1/+24 | |
| | ||||||
* | refactor walk logic into walk* and doWalk* methods, for a more regular API ↵ | Alon Zakai | 2016-05-30 | 1 | -1/+1 | |
| | | | | that is clearer where it should be overridden (#551) | |||||
* | add a pass that eliminates duplicate functions | Alon Zakai | 2016-05-28 | 6 | -77/+1576 | |
| | ||||||
* | canonicalize the order in reorder-locals, by using first-appearance to break ↵ | Alon Zakai | 2016-05-28 | 8 | -854/+854 | |
| | | | | ties | |||||
* | note number of functions in metrics | Alon Zakai | 2016-05-28 | 1 | -0/+1 | |
| | ||||||
* | Allows parsing of debug information in .S files | Yury Delendik | 2016-05-26 | 2 | -0/+358 | |
| | | | | Currently it ignores this information. Also it allows parse files with -asm-verbose=true. | |||||
* | Merge pull request #543 from WebAssembly/fix-merge-blocks | Alon Zakai | 2016-05-25 | 3 | -537/+453 | |
|\ | | | | | Fix merge blocks on named blocks | |||||
| * | add a merge-block test | Alon Zakai | 2016-05-25 | 2 | -0/+28 | |
| | | ||||||
| * | fix a merge-blocks bug where we merged named blocks | Alon Zakai | 2016-05-25 | 3 | -537/+425 | |
| | | ||||||
* | | Add remove unused functions pass. (#463) | Michael Bebenita | 2016-05-25 | 2 | -0/+77 | |
|/ | ||||||
* | update spec tests, and handle the new .fail. tests (#541) | Alon Zakai | 2016-05-25 | 1 | -0/+0 | |
| | ||||||
* | move blocks outside in merge-blocks so that they can be merged later | Alon Zakai | 2016-05-24 | 11 | -219/+1493 | |
| | ||||||
* | add a pass to drop return values in set_local and store (#539) | Alon Zakai | 2016-05-23 | 2 | -0/+40 | |
| | ||||||
* | fix isResultUsed bug with ifs | Alon Zakai | 2016-05-23 | 4 | -158/+303 | |
| | ||||||
* | Avoid a redundant return in dynCall functions. (#533) | Dan Gohman | 2016-05-23 | 4 | -37/+23 | |
| | ||||||
* | dead code elimination pass (#536) | Alon Zakai | 2016-05-22 | 6 | -654/+1066 | |
| | ||||||
* | don't depend on asm.js type detection in binary formation in asm2wasm, use ↵ | Alon Zakai | 2016-05-22 | 5 | -0/+65 | |
| | | | | the full asm global info we have (#535) | |||||
* | Update s2wasm for LLVM changes, and regenerate tests. (#532) | Dan Gohman | 2016-05-20 | 76 | -6058/+7358 | |
| | ||||||
* | notice only branches out in EffectAnalyzer, internal control flow can be ↵ | Alon Zakai | 2016-05-19 | 9 | -2357/+2275 | |
| | | | | ignored (#530) | |||||
* | Allow implicit function returns. (#529) | Dan Gohman | 2016-05-19 | 2 | -0/+29 | |
| | ||||||
* | vacuum the top of functions too | Alon Zakai | 2016-05-19 | 4 | -34/+21 | |
| | ||||||
* | vacuum after passes that create garbage; this makes the total time better | Alon Zakai | 2016-05-19 | 9 | -1440/+1407 | |
| | ||||||
* | add --no-opt testing to asm2wasm | Alon Zakai | 2016-05-19 | 14 | -0/+114694 | |
| |