Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | asm2wasm debuginfo (#895) | Alon Zakai | 2017-02-07 | 1 | -2/+10 |
| | | | | | | | | | | | | * parse file/line comments in asm.js into debug intrinsics * convert debug intrinsics into annotations, and print them * ignore --debuginfo if not emitting text, as wasm binaries don't support that yet * emit full debug info when -g and emitting text; when -g and emitting binary, all we can do is the Names section * update wasm.js | ||||
* | Improve handling of implicit traps (#898) | Alon Zakai | 2017-02-06 | 1 | -7/+6 |
| | | | | | | | | * add --ignore-implicit-traps option, and by default do not ignore them, to properly preserve semantics * implicit traps can be reordered, but are side effects and should not be removed * add testing for --ignore-implicit-traps | ||||
* | Remove unused captures to fix warnings/errors when compiling with Clang (#896) | Eric Holk | 2017-02-03 | 1 | -2/+1 |
| | |||||
* | Read/Write Abstraction (#889) | Alon Zakai | 2017-01-26 | 2 | -13/+39 |
| | | | | | * Added ModuleReader/Writer classes that support text and binary I/O * Use them in wasm-opt and asm2wasm | ||||
* | add table-max option, and make it and mem-max set the limit to no limit for -1 | Alon Zakai | 2016-12-07 | 1 | -2/+21 |
| | |||||
* | add --mem-max option to set the maximum size of memory, overriding the ↵ | Alon Zakai | 2016-11-11 | 1 | -0/+10 |
| | | | | default (which is the normal size of memory if no growth, or infinity if growth) (#837) | ||||
* | add a --symbolmap option to wasm-as, which emits a side file with the name ↵ | Alon Zakai | 2016-11-09 | 1 | -0/+5 |
| | | | | mapping (similar to Names section, but external) | ||||
* | add a pass to optimize memory segments, and pack memory in asm2wasm | Alon Zakai | 2016-11-01 | 1 | -0/+5 |
| | |||||
* | add a --memory-base options to asm2wasm, to fix the memory base instead of ↵ | Alon Zakai | 2016-10-31 | 1 | -1/+12 |
| | | | | depending on an import | ||||
* | Add -O0,-O1,etc. options (#790) | Alon Zakai | 2016-10-19 | 3 | -23/+101 |
| | | | | And use them in wasm-opt and asm2wasm consistently and uniformly. | ||||
* | Pass options (#788) | Alon Zakai | 2016-10-18 | 1 | -2/+16 |
| | | | | * add PassOptions structure, and use it for new -Os param to wasm-opt | ||||
* | Import memory instead of defining/exporting it when using emscripten glue (#777) | Derek Schuff | 2016-10-14 | 1 | -1/+2 |
| | | | | | The emscripten JS module code creates the memory using the native wasm APIs, and imports that into the wasm module. | ||||
* | Refactor Import::Kind and Export::Kind into an ExternalKind enum class (#725) | Alon Zakai | 2016-10-03 | 1 | -2/+2 |
| | |||||
* | passRunner debug and validation improvements (#726) | Alon Zakai | 2016-10-02 | 1 | -5/+0 |
| | |||||
* | asm2wasm i64 support (#723) | Alon Zakai | 2016-09-30 | 1 | -1/+6 |
| | | | | | | | | | | | | * support i64 intrinsics from fastcomp, adding --wasm-only flag * refactor callImport logic in asm2wasm to avoid recomputing wasm types again * legalize illegal i64 params in exports and imports * do safe i64 binary ops depending on precision * fix addVar, only assert on names if we are using a name | ||||
* | Make wasm-as emit the names section/debug info only with -g (#705) | Alon Zakai | 2016-09-26 | 1 | -0/+5 |
| | |||||
* | error on putting spectest.print in a table | Alon Zakai | 2016-09-21 | 1 | -0/+11 |
| | |||||
* | validate spectest.print as a function | Alon Zakai | 2016-09-20 | 1 | -1/+7 |
| | |||||
* | global importing fixes: use the right counter for globals and for functions | Alon Zakai | 2016-09-20 | 1 | -1/+12 |
| | |||||
* | support module operations in shell tests | Alon Zakai | 2016-09-17 | 1 | -28/+55 |
| | |||||
* | support assert_malformed in shell test runner | Alon Zakai | 2016-09-16 | 1 | -1/+6 |
| | |||||
* | Add flag to s2wasm to export __growWasmMemory function (#696) | jgravelle-google | 2016-09-09 | 1 | -0/+16 |
| | | | | | | | | | | | | | | | | | | | | | * Add a flag to s2wasm to export grow_memory Binaryen's wasm.js-post.js calls back in to wasm in order to grow the linear memory, via a function that asm2wasm exports called __growWasmMemory. This changes exposes that method through s2wasm when invoked with a flag. * Move AsmConstWalker from wasm-linker to wasm-emscripten * Add test for memory growth in s2wasm * Move makeDynCallThunks into wasm-emscripten module * Move mutation in getTableSegment into a separate method * Move emscripten metadata generation into wasm-emscripten Also make AsmConstWalker internal to the wasm-emscripten module, as it's only used for the metadata pass. | ||||
* | import memoryBase and tableBase | Alon Zakai | 2016-09-07 | 1 | -9/+1 |
| | |||||
* | add asm2wasm option to import a mem init file | Alon Zakai | 2016-09-07 | 1 | -1/+23 |
| | | | | | | | | apply memory segments only if there isn't a memory initializer (which we need for asmjs and asm2wasm modes) use wasm-opt to check recreated wasts for validity, as wasm-shell would try to execute them add testing for combined modes like asmjs,interpret-binary | ||||
* | use globals in asm2wasm | Alon Zakai | 2016-09-07 | 1 | -11/+1 |
| | |||||
* | wasm-shell improvements: print out which module is built, add option to skip ↵ | Alon Zakai | 2016-09-07 | 1 | -2/+27 |
| | | | | lines | ||||
* | better printing when assert_invalids fail | Alon Zakai | 2016-09-07 | 1 | -1/+7 |
| | |||||
* | validate properly in wasm-opt | Alon Zakai | 2016-07-13 | 1 | -1/+4 |
| | |||||
* | separate wasm-opt out from wasm-shell: opt optimizes, shell runs wast shell ↵ | Alon Zakai | 2016-07-13 | 3 | -46/+103 |
| | | | | tests | ||||
* | rename binaryen-shell to wasm-shell | Alon Zakai | 2016-07-13 | 1 | -1/+1 |
| | |||||
* | print line numbers when running tests in shell | Alon Zakai | 2016-07-06 | 1 | -1/+4 |
| | |||||
* | prefix make_unique in binaryen_shell for visual studio workarounds (#595) | Alon Zakai | 2016-06-23 | 1 | -4/+4 |
| | |||||
* | support -o in binaryen-shell (#592) | Alon Zakai | 2016-06-18 | 1 | -0/+9 |
| | |||||
* | refactor interpreter code to provide expression executors for both ↵ | Alon Zakai | 2016-06-18 | 1 | -2/+2 |
| | | | | standalone and full funtime execution | ||||
* | Add mode to wasm validator to check for web-environment constraints (#584) | Derek Schuff | 2016-06-14 | 2 | -14/+40 |
| | | | | | | | 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. | ||||
* | s2wasm: Validate the result module (#574) | Derek Schuff | 2016-06-10 | 1 | -0/+13 |
| | | | | 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 Zakai | 2016-06-08 | 1 | -0/+1 |
| | | | | variables we only use in asserts (#579) | ||||
* | add OptimizingIncrementalModuleBuilder for faster incremental module ↵ | Alon Zakai | 2016-06-02 | 1 | -6/+1 |
| | | | | building + optimizing | ||||
* | catch parse exceptions in s-parsing too | Alon Zakai | 2016-05-24 | 1 | -38/+39 |
| | |||||
* | validate after running passes in shell | Alon Zakai | 2016-05-23 | 1 | -0/+1 |
| | |||||
* | Merge pull request #507 from WebAssembly/coalesce-locals | Alon Zakai | 2016-05-16 | 1 | -1/+1 |
|\ | | | | | Coalesce locals | ||||
| * | add cfg-building traversal and a pass to coalesce locals using it | Alon Zakai | 2016-05-15 | 1 | -1/+1 |
| | | |||||
* | | don't emit an extra endline in s2wasm (#506) (#508) | Alon Zakai | 2016-05-16 | 1 | -1/+1 |
|/ | |||||
* | move console tool sources into src/tools (#490) | Alon Zakai | 2016-05-12 | 5 | -0/+637 |