Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix a reinterpret opcode | Alon Zakai | 2016-04-21 | 1 | -1/+1 |
| | |||||
* | update eqz opcodes | Alon Zakai | 2016-04-21 | 1 | -3/+2 |
| | |||||
* | name unnamed functions in binaries | Alon Zakai | 2016-04-21 | 1 | -1/+1 |
| | |||||
* | function ending fixes | Alon Zakai | 2016-04-21 | 1 | -16/+15 |
| | |||||
* | fix file size for binary files read | Alon Zakai | 2016-04-21 | 1 | -1/+1 |
| | |||||
* | support not exporting memory in binaries | Alon Zakai | 2016-04-21 | 1 | -2/+5 |
| | |||||
* | Removes wasm-s-parser debug logging from binaryen.idl. (#373) | Yury Delendik | 2016-04-21 | 1 | -1/+1 |
| | | | | | | | Continuation of #345 (see https://github.com/WebAssembly/binaryen/commit/2887883029de293458344a5d564039074d93246e#diff-499c4e70c8aadb9837261ebcc4725f78R262) Currently building of binaryen.js fails with "src/../glue.cpp:102:14: error: no matching constructor for initialization of 'wasm::SExpressionWasmBuilder'" | ||||
* | Move Fatal into utilities.h (#376) | Derek Schuff | 2016-04-21 | 2 | -18/+18 |
| | | | | | Follow-on from #372. Probably we should do even better for error handling, and that might mean a cpp file in support, but for now this is a small improvement. | ||||
* | Factor linker-related functionality of S2WasmBuilder into its own class (#372) | Derek Schuff | 2016-04-21 | 4 | -380/+496 |
| | | | | | This is the first of a couple of refactorings in for #370 No functionality change, and minimal code change to make it work. | ||||
* | optimize --vacuum a little | Alon Zakai | 2016-04-20 | 1 | -0/+8 |
| | |||||
* | do not crash when printing an expression whose function is not known | Alon Zakai | 2016-04-20 | 1 | -1/+4 |
| | |||||
* | run merge-blocks later, so it can optiize simplify-locals output | Alon Zakai | 2016-04-20 | 1 | -1/+1 |
| | |||||
* | add a utility to check for results being used | Alon Zakai | 2016-04-20 | 1 | -0/+31 |
| | |||||
* | Merge pull request #371 from yurydelendik/initarray-mutilple | Yury Delendik | 2016-04-20 | 1 | -10/+14 |
|\ | | | | | Parses more than one entry in the .init_array section. | ||||
| * | Parses more than one entry in the .init_array section. | Yury Delendik | 2016-04-20 | 1 | -10/+14 |
| | | |||||
* | | disable asm2wasm i64 opts until browsers are ready | Alon Zakai | 2016-04-20 | 1 | -0/+2 |
| | | |||||
* | | update binary version to 0xb | Alon Zakai | 2016-04-20 | 1 | -4/+9 |
|/ | |||||
* | extensible type forms, update for design#640 (#367) | Alon Zakai | 2016-04-19 | 1 | -2/+20 |
| | |||||
* | save the module on Walker objects, so passes have an easy way to access the ↵ | Alon Zakai | 2016-04-19 | 1 | -0/+13 |
| | | | | module (#366) | ||||
* | update wasm.js | Alon Zakai | 2016-04-18 | 1 | -2/+2 |
| | |||||
* | grow_memory now returns in units of page size | Alon Zakai | 2016-04-18 | 1 | -1/+1 |
| | |||||
* | current_memory now returns in units of page size | Alon Zakai | 2016-04-18 | 1 | -1/+1 |
| | |||||
* | update MemorySize => CurrentMemory | Alon Zakai | 2016-04-18 | 6 | -15/+11 |
| | |||||
* | fix br_table order of evaluation, the value is first | Alon Zakai | 2016-04-18 | 1 | -9/+8 |
| | |||||
* | handle dead stores in SimplifyLocals | Alon Zakai | 2016-04-18 | 1 | -2/+3 |
| | |||||
* | remove old comments in SimplifyLocals | Alon Zakai | 2016-04-18 | 1 | -2/+1 |
| | |||||
* | create a UnifiedExpressionVisitor for passes that want a single visitor ↵ | Alon Zakai | 2016-04-18 | 17 | -52/+79 |
| | | | | function, to avoid confusion with having both visit* and visitExpression in a single pass (#357) | ||||
* | use a vector for get_local counts in SimplifyLocals (#356) | Alon Zakai | 2016-04-18 | 1 | -1/+2 |
| | |||||
* | update binary section names per latest design (#363) | Alon Zakai | 2016-04-18 | 1 | -9/+9 |
| | |||||
* | remove the AllocatingModule class, and just make Module have allocations. ↵ | Alon Zakai | 2016-04-18 | 14 | -34/+25 |
| | | | | the distinction is not really that useful, and passes do need to allocate, so we would need to pass around AllocatingModules all around anyhow. (#361) | ||||
* | let traversals access the current function (#355) | Alon Zakai | 2016-04-18 | 1 | -7/+22 |
| | |||||
* | index locals, so that get_local and set_local have just an index, and local ↵ | Alon Zakai | 2016-04-18 | 15 | -213/+413 |
| | | | | names are kept on the Function object (#354) | ||||
* | Merge pull request #353 from WebAssembly/thread-tweaks | Alon Zakai | 2016-04-18 | 1 | -1/+4 |
|\ | | | | | Thread fixes | ||||
| * | fix ThreadPool::size, we don't have any thread objects created if there is ↵ | Alon Zakai | 2016-04-18 | 1 | -1/+1 |
| | | | | | | | | just one core, since then we run it all on the main thread anyhow | ||||
| * | allow limiting # of cores in thread pool, useful for debugging | Alon Zakai | 2016-04-18 | 1 | -0/+3 |
| | | |||||
* | | nicer pass printing (#358) | Alon Zakai | 2016-04-18 | 1 | -2/+19 |
| | | |||||
* | | Fixes typo in hex number parsing in asm2wasm. (#362) | Yury Delendik | 2016-04-18 | 1 | -1/+1 |
|/ | | | Fixes #352 | ||||
* | Function parallelism (#343) | Alon Zakai | 2016-04-15 | 14 | -27/+384 |
| | | | | * allow traversals to mark themselves as function-parallel, in which case we run them using a thread pool. also mark some thread-safety risks (interned strings, arena allocators) with assertions they modify only on the main thread | ||||
* | rename function locals, to params and vars, which together are all the ↵ | Alon Zakai | 2016-04-14 | 11 | -38/+38 |
| | | | | locals. preparation for #336 (#349) | ||||
* | Add a debug mode to PassRunner, which logs out times (#344) | Alon Zakai | 2016-04-14 | 3 | -1/+22 |
| | | | | | | * add a debug mode to PassRunner, which logs out times * address comments | ||||
* | remove excessive wasm-s-parser debug logging (#345) | Alon Zakai | 2016-04-14 | 4 | -9/+6 |
| | |||||
* | Generate emscripten dynCall thunks in s2wasm (#342) | Derek Schuff | 2016-04-13 | 2 | -15/+34 |
| | | | | | | | | | | | * Generate emscripten dynCall thunks in s2wasm Part of the usual emscripten glue for asm.js is thunks for calling functions on the module given a function pointer; aka a dynCall. This is implemented via thunks generated on the Module called 'dynCall_<signature>'. This gives support to s2wasm to generate these thunks in the wasm module along with other emscripten glue. It also introduces a flag to s2wasm to make generation of emscripten glue optional. | ||||
* | Merge pull request #341 from WebAssembly/opts | Alon Zakai | 2016-04-12 | 7 | -40/+69 |
|\ | | | | | More optimization goodies | ||||
| * | drop completely unused locals in ReorderLocals | Alon Zakai | 2016-04-11 | 2 | -1/+10 |
| | | |||||
| * | continue simplifying locals while opportunities present themselves | Alon Zakai | 2016-04-11 | 1 | -23/+37 |
| | | |||||
| * | allow overriding startWalk(Function*) | Alon Zakai | 2016-04-11 | 1 | -1/+1 |
| | | |||||
| * | refactor default optimization passes to a central location | Alon Zakai | 2016-04-11 | 4 | -15/+21 |
| | | |||||
* | | Add a method to generate a dyncall thunk (#337) | Derek Schuff | 2016-04-12 | 3 | -21/+62 |
|/ | | | | | Currently it's not called anywhere. The bulk of this change is refactoring to add makeFunction, makeCallIndirect, and makeReturn to wasm::Builder, and make S2wasmBuilder call it | ||||
* | dyn_cast => dynCast | Alon Zakai | 2016-04-11 | 11 | -24/+24 |
| | |||||
* | remove unneeded virtual destructor | Alon Zakai | 2016-04-11 | 1 | -1/+0 |
| |