summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * update check.py for the wasm default method now being native with binary supportAlon Zakai2016-04-201-5/+2
| |
| * update emscriptenAlon Zakai2016-04-201-0/+0
| |
| * update testsAlon Zakai2016-04-202-74/+2144
| |
| * disable asm2wasm i64 opts until browsers are readyAlon Zakai2016-04-201-0/+2
| |
| * update binary version to 0xbAlon Zakai2016-04-201-4/+9
|/
* extensible type forms, update for design#640 (#367)Alon Zakai2016-04-191-2/+20
|
* save the module on Walker objects, so passes have an easy way to access the ↵Alon Zakai2016-04-191-0/+13
| | | | module (#366)
* Merge pull request #364 from WebAssembly/updatesAlon Zakai2016-04-1813-16341/+21384
|\ | | | | Spec test updates
| * update wasm.jsAlon Zakai2016-04-183-16314/+21360
| |
| * update testsAlon Zakai2016-04-183-2/+2
| |
| * disable wasm2asm tests in auto_update_tests.py as well, not just in check.pyAlon Zakai2016-04-181-0/+2
| |
| * grow_memory now returns in units of page sizeAlon Zakai2016-04-181-1/+1
| |
| * current_memory now returns in units of page sizeAlon Zakai2016-04-181-1/+1
| |
| * update MemorySize => CurrentMemoryAlon Zakai2016-04-186-15/+11
| |
| * fix br_table order of evaluation, the value is firstAlon Zakai2016-04-181-9/+8
|/
* Fix README.md - Ninja documentation (#263)buddhabrot2016-04-181-1/+1
| | | | * Fixed README.md mistake for Ninja generator
* Merge pull request #359 from WebAssembly/dead-stores-in-slAlon Zakai2016-04-185-39/+17
|\ | | | | Do some TODOs in SimplifyLocals
| * handle dead stores in SimplifyLocalsAlon Zakai2016-04-185-37/+16
| |
| * remove old comments in SimplifyLocalsAlon Zakai2016-04-181-2/+1
|/
* create a UnifiedExpressionVisitor for passes that want a single visitor ↵Alon Zakai2016-04-1818-53/+80
| | | | 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 Zakai2016-04-181-1/+2
|
* update binary section names per latest design (#363)Alon Zakai2016-04-181-9/+9
|
* remove the AllocatingModule class, and just make Module have allocations. ↵Alon Zakai2016-04-1815-35/+26
| | | | 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 Zakai2016-04-181-7/+22
|
* index locals, so that get_local and set_local have just an index, and local ↵Alon Zakai2016-04-1823-2967/+3167
| | | | names are kept on the Function object (#354)
* Merge pull request #353 from WebAssembly/thread-tweaksAlon Zakai2016-04-182-2/+5
|\ | | | | Thread fixes
| * use -pthread as a compile flag, not link flagAlon Zakai2016-04-181-1/+1
| |
| * fix ThreadPool::size, we don't have any thread objects created if there is ↵Alon Zakai2016-04-181-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 debuggingAlon Zakai2016-04-181-0/+3
| |
* | nicer pass printing (#358)Alon Zakai2016-04-181-2/+19
| |
* | Fixes typo in hex number parsing in asm2wasm. (#362)Yury Delendik2016-04-186-1/+41
|/ | | Fixes #352
* Function parallelism (#343)Alon Zakai2016-04-1516-28/+394
| | | | * 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
* Don't allow tsan to fail (#351)JF Bastien2016-04-151-5/+0
| | | Shoulnd't timeout anymore.
* Update waterfall, get rlimit bumpJF Bastien2016-04-151-0/+0
|
* Clarified wasm.js & binaryen.js use cases (#350)Jan Wolski2016-04-151-1/+2
|
* rename function locals, to params and vars, which together are all the ↵Alon Zakai2016-04-1411-38/+38
| | | | locals. preparation for #336 (#349)
* Add a debug mode to PassRunner, which logs out times (#344)Alon Zakai2016-04-143-1/+22
| | | | | | * add a debug mode to PassRunner, which logs out times * address comments
* refactor check.py to use a run_command method that checks proc return codes, ↵Alon Zakai2016-04-141-33/+25
| | | | instead of hackishly looking at stderr for errors (#346)
* remove excessive wasm-s-parser debug logging (#345)Alon Zakai2016-04-145-10/+7
|
* Generate emscripten dynCall thunks in s2wasm (#342)Derek Schuff2016-04-1311-17/+280
| | | | | | | | | | | * 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/optsAlon Zakai2016-04-1221-7854/+3757
|\ | | | | More optimization goodies
| * drop completely unused locals in ReorderLocalsAlon Zakai2016-04-1113-4143/+10
| |
| * add reorder-locals testcaseAlon Zakai2016-04-112-0/+22
| |
| * continue simplifying locals while opportunities present themselvesAlon Zakai2016-04-118-3784/+3398
| |
| * allow overriding startWalk(Function*)Alon Zakai2016-04-111-1/+1
| |
| * add simplify-locals testcaseAlon Zakai2016-04-112-0/+394
| |
| * refactor default optimization passes to a central locationAlon Zakai2016-04-114-15/+21
| |
* | Add a method to generate a dyncall thunk (#337)Derek Schuff2016-04-123-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
* Merge pull request #334 from WebAssembly/opts2Alon Zakai2016-04-1128-31016/+19386
|\ | | | | More optimizations
| * dyn_cast => dynCastAlon Zakai2016-04-1112-25/+25
| |