Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix leak of FunctionType from parseFuncType when not already in the module ↵ | Derek Schuff | 2016-06-03 | 2 | -5/+11 |
| | | | | | (#563) Pass ownership into the wasm module. | ||||
* | Merge pull request #560 from WebAssembly/func-running | Alon Zakai | 2016-06-02 | 10 | -33/+352 |
|\ | | | | | Option to optimize while building modules | ||||
| * | add OptimizingIncrementalModuleBuilder for faster incremental module ↵ | Alon Zakai | 2016-06-02 | 5 | -26/+290 |
| | | | | | | | | building + optimizing | ||||
| * | refactor a getNumCores method | Alon Zakai | 2016-06-02 | 2 | -5/+12 |
| | | |||||
| * | add an option to run passes on individual functions, and to get default ↵ | Alon Zakai | 2016-06-02 | 3 | -2/+50 |
|/ | | | | optimization passes suitable for that, or not. refactor visitFunction/Module for this. | ||||
* | Use clang from the waterfall (#557) | Alon Zakai | 2016-06-02 | 2 | -18/+24 |
| | | | This avoids relying on clang from llvm, which sometimes is down (see #553) | ||||
* | 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 | 10 | -22/+324 |
| | | | | | | | | | | | 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 |
| | |||||
* | Specify version of python interpreter (#547) | Sven-Hendrik Haase | 2016-06-01 | 1 | -1/+1 |
| | | | Without this, the script won't work on distros that use python3 by default. | ||||
* | Merge pull request #555 from WebAssembly/spec-test-fixes | Alon Zakai | 2016-06-01 | 2 | -3/+3 |
|\ | | | | | Spec test fixes | ||||
| * | invalid break labels are parse errors | Alon Zakai | 2016-06-01 | 1 | -3/+2 |
| | | |||||
| * | note default in type checking of switches | Alon Zakai | 2016-06-01 | 1 | -0/+1 |
| | | |||||
* | | if we use the zero-init value of a local, we cannot coalesce it with a param ↵ | Alon Zakai | 2016-06-01 | 8 | -6/+139 |
| | | | | | | | | (#556) | ||||
* | | Merge pull request #552 from WebAssembly/dup-asm2wasm-exports | Alon Zakai | 2016-06-01 | 8 | -25882/+29758 |
|\ \ | |/ |/| | asm2wasm regression fixes | ||||
| * | handle stack frames we skip over by jumping up the stack, and update wasm.js | Alon Zakai | 2016-06-01 | 2 | -25877/+29723 |
| | | |||||
| * | handle duplicate exports in asm2wasm | Alon Zakai | 2016-05-31 | 6 | -5/+35 |
| | | |||||
* | | fix bugs found using afl (#546) | Dominic Chen | 2016-05-31 | 2 | -4/+12 |
|/ | |||||
* | refactor walk logic into walk* and doWalk* methods, for a more regular API ↵ | Alon Zakai | 2016-05-30 | 10 | -31/+42 |
| | | | | that is clearer where it should be overridden (#551) | ||||
* | Merge pull request #550 from WebAssembly/dfe-nice | Alon Zakai | 2016-05-29 | 22 | -938/+3062 |
|\ | | | | | Duplicate function elimination | ||||
| * | add a pass that eliminates duplicate functions | Alon Zakai | 2016-05-28 | 10 | -79/+1760 |
| | | |||||
| * | add hash utility, and support for hashing and comparing expressions | Alon Zakai | 2016-05-28 | 2 | -0/+417 |
| | | |||||
| * | canonicalize the order in reorder-locals, by using first-appearance to break ↵ | Alon Zakai | 2016-05-28 | 9 | -859/+868 |
| | | | | | | | | ties | ||||
| * | note number of functions in metrics | Alon Zakai | 2016-05-28 | 2 | -0/+5 |
| | | |||||
| * | add getBits and not-equals helper funcs for Literal | Alon Zakai | 2016-05-28 | 1 | -0/+12 |
|/ | |||||
* | update functions map in RemoveUnusedFunctions (#545) | Alon Zakai | 2016-05-26 | 2 | -0/+9 |
| | |||||
* | Merge pull request #544 from yurydelendik/parse-debug | Yury Delendik | 2016-05-26 | 4 | -12/+448 |
|\ | | | | | Allows parsing debug information in the .S files | ||||
| * | Allows parsing of debug information in .S files | Yury Delendik | 2016-05-26 | 4 | -12/+448 |
|/ | | | | 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 | 6 | -541/+458 |
|\ | | | | | 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 | 4 | -538/+426 |
| | | |||||
| * | allow passes tests with more than one pass | Alon Zakai | 2016-05-25 | 2 | -3/+4 |
| | | |||||
* | | Add remove unused functions pass. (#463) | Michael Bebenita | 2016-05-25 | 5 | -0/+164 |
|/ | |||||
* | update spec tests, and handle the new .fail. tests (#541) | Alon Zakai | 2016-05-25 | 2 | -3/+14 |
| | |||||
* | Merge pull request #540 from WebAssembly/merge-blocks | Alon Zakai | 2016-05-24 | 14 | -258/+1657 |
|\ | | | | | Merge blocks improvements | ||||
| * | move blocks outside in merge-blocks so that they can be merged later | Alon Zakai | 2016-05-24 | 12 | -219/+1617 |
| | | |||||
| * | show a parse error for empty stack | Alon Zakai | 2016-05-24 | 1 | -1/+1 |
| | | |||||
| * | catch parse exceptions in s-parsing too | Alon Zakai | 2016-05-24 | 1 | -38/+39 |
|/ | |||||
* | add a pass to drop return values in set_local and store (#539) | Alon Zakai | 2016-05-23 | 4 | -0/+120 |
| | |||||
* | Merge pull request #538 from WebAssembly/asm2wasm-validation | Alon Zakai | 2016-05-23 | 10 | -6204/+8623 |
|\ | | | | | More validation | ||||
| * | fix isResultUsed bug with ifs | Alon Zakai | 2016-05-23 | 5 | -159/+304 |
| | | |||||
| * | update wasm.js | Alon Zakai | 2016-05-23 | 2 | -6027/+8283 |
| | | |||||
| * | validate after running passes in shell | Alon Zakai | 2016-05-23 | 1 | -0/+1 |
| | | |||||
| * | validate in asm2wasm, and fix some validation errors for that | Alon Zakai | 2016-05-23 | 2 | -18/+35 |
|/ | |||||
* | Avoid a redundant return in dynCall functions. (#533) | Dan Gohman | 2016-05-23 | 5 | -38/+24 |
| | |||||
* | dead code elimination pass (#536) | Alon Zakai | 2016-05-22 | 9 | -654/+1419 |
| | |||||
* | don't depend on asm.js type detection in binary formation in asm2wasm, use ↵ | Alon Zakai | 2016-05-22 | 7 | -6768/+6711 |
| | | | | the full asm global info we have (#535) | ||||
* | Update s2wasm for LLVM changes, and regenerate tests. (#532) | Dan Gohman | 2016-05-20 | 77 | -6064/+7365 |
| | |||||
* | Merge pull request #531 from WebAssembly/fixes | Alon Zakai | 2016-05-20 | 4 | -45/+64 |
|\ | | | | | Type checking fixes | ||||
| * | type check return types fully | Alon Zakai | 2016-05-20 | 1 | -1/+7 |
| | |