summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * update emscripten submoduleAlon Zakai2016-06-291-0/+0
|/
* Add the option to build libbinaryen as a static lib (#610)lqd2016-06-291-1/+7
| | | | 1) the option is OFF by default 2) cmake -DBUILD_STATIC_LIB=ON .triggers it
* avoid exceptions in Precompute pass (#606)Alon Zakai2016-06-271-10/+12
|
* simplify wasm-builder: it has an allocator, and should never need to access ↵Alon Zakai2016-06-271-23/+24
| | | | a module (#605)
* make creating functions and types parallelizable in c api (#603)Alon Zakai2016-06-262-2/+35
|
* Merge pull request #602 from WebAssembly/dsl-niceAlon Zakai2016-06-2617-151/+753
|\ | | | | Use a DSL in OptimizeInstructions
| * rewrite OptimizeInstructions to use a dsl of patternsAlon Zakai2016-06-264-50/+456
| |
| * make makeCallImport more similar to makeCall; do not assume all imports ↵Alon Zakai2016-06-263-4/+4
| | | | | | | | exist, let functions be created in a way independent from global state
| * expression copying utilityAlon Zakai2016-06-262-7/+149
| |
| * add ExpressionAnalyzer::flexibleEqualsAlon Zakai2016-06-261-1/+13
| |
| * add shared-constants.h for wasm constantsAlon Zakai2016-06-2611-90/+132
| |
* | add c api method to interpret a module, calling its start method (#601)Alon Zakai2016-06-254-0/+47
|/
* finalize blocks properly in relooper (#600)Alon Zakai2016-06-243-1/+32
|
* add BinaryenExpressionPrint to c api (#599)Alon Zakai2016-06-244-1/+14
|
* prefix make_unique in binaryen_shell for visual studio workarounds (#595)Alon Zakai2016-06-231-4/+4
|
* make assertion error more useful (#597)Dominic Chen2016-06-231-1/+1
|
* Merge pull request #593 from WebAssembly/remove-div0Alon Zakai2016-06-2131-122/+178
|\ | | | | Explicit registering of passes
| * Add initialization functions for passes to avoid missing pass registration ↵Jukka Jylänki2016-06-2128-49/+177
| | | | | | | | due to linker dead code elimination. Fixes #577.
| * test only c api examples; c++ api is internal and unstable, it is tested by ↵Alon Zakai2016-06-213-73/+1
| | | | | | | | our own codebase
* | Build fixes/workarounds to support Visual Studio 2013 build, which has ↵juj2016-06-215-6/+7
|/ | | | trouble with some new C++11 constructs. (#581)
* support -o in binaryen-shell (#592)Alon Zakai2016-06-182-0/+40
|
* update readme with links to new talk (#591)Alon Zakai2016-06-181-1/+4
|
* Merge pull request #590 from WebAssembly/precomputeAlon Zakai2016-06-1820-928/+661
|\ | | | | Precompute expressions at compile time when possible
| * run precompute after every optimize-instructionsAlon Zakai2016-06-183-264/+50
| |
| * add a precompute passAlon Zakai2016-06-1818-333/+228
| |
| * refactor interpreter code to provide expression executors for both ↵Alon Zakai2016-06-183-414/+466
| | | | | | | | standalone and full funtime execution
* | Merge pull request #589 from WebAssembly/spec-fixesAlon Zakai2016-06-173-5/+5
|\ \ | |/ |/| Spec fixes
| * support parse errors in .fail. testsAlon Zakai2016-06-171-1/+1
| |
| * fix an assert to a proper error, in bad func declsAlon Zakai2016-06-171-1/+1
| |
| * fix interpreter on indirect calls, do arguments before checking and doing ↵Alon Zakai2016-06-171-3/+3
|/ | | | the call (they might flow)
* Do not create dyncall thunks for functions with i64 results or params (#586)Derek Schuff2016-06-145-68/+39
| | | | | | 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-148-23/+80
| | | | | | | 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-1116-97/+247
|\ | | | | Fix and improve br optimizations
| * run remove-unused-brs after simplify-localsAlon Zakai2016-06-1110-105/+82
| |
| * fix br_if with value optimization in remove-unused-brsAlon Zakai2016-06-118-0/+173
| |
* | s2wasm: Validate the result module (#574)Derek Schuff2016-06-105-18/+41
|/ | | | 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`.
* use WASM_UNUSED in some places to fix compiler warning/error on unused ↵Alon Zakai2016-06-084-2/+9
| | | | variables we only use in asserts (#579)
* add a pass to remove memory segments (#580)Alon Zakai2016-06-084-0/+44
|
* Updated .gitignore for VS meta noise (#576)Peter Jas2016-06-061-0/+8
|
* fix if type; if one is none and the other is concrete, still none (#575)Alon Zakai2016-06-061-1/+9
|
* handle breaks to the function's implicit block scope (#573)Alon Zakai2016-06-061-7/+23
|
* Fixed missing type assignment of host operations in s2wasm (#572)Alexander Meißner2016-06-063-0/+23
|
* if we start to parse an s-string and find it empty, that is invalid #570 (#571)Alon Zakai2016-06-041-0/+1
|
* make call_indirect type a name, so that it is not a dependency on the ↵Alon Zakai2016-06-0312-26/+26
| | | | 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-035-6/+28
| | | | | 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.
* move function parallelism to pass and pass runner, which allows more ↵Alon Zakai2016-06-0317-139/+145
| | | | efficient parallel execution (#564)
* Merge pull request #567 from WebAssembly/spec-test-updateAlon Zakai2016-06-033-11/+25
|\ | | | | Misc fixes for new spec tests
| * check function types in s-parsingAlon Zakai2016-06-031-1/+2
| |
| * trap on invalid call_indirects with bad arguments when no type providedAlon Zakai2016-06-031-0/+4
| |
| * improve some parsing error textsAlon Zakai2016-06-032-2/+2
| |