summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | if we use the zero-init value of a local, we cannot coalesce it with a param ↵Alon Zakai2016-06-011-4/+10
| | | | | | | | (#556)
* | Merge pull request #552 from WebAssembly/dup-asm2wasm-exportsAlon Zakai2016-06-012-20/+36
|\ \ | |/ |/| asm2wasm regression fixes
| * handle stack frames we skip over by jumping up the stack, and update wasm.jsAlon Zakai2016-06-011-16/+25
| |
| * handle duplicate exports in asm2wasmAlon Zakai2016-05-311-4/+11
| |
* | fix bugs found using afl (#546)Dominic Chen2016-05-312-4/+12
|/
* refactor walk logic into walk* and doWalk* methods, for a more regular API ↵Alon Zakai2016-05-309-30/+41
| | | | that is clearer where it should be overridden (#551)
* add a pass that eliminates duplicate functionsAlon Zakai2016-05-283-0/+182
|
* add hash utility, and support for hashing and comparing expressionsAlon Zakai2016-05-282-0/+417
|
* canonicalize the order in reorder-locals, by using first-appearance to break ↵Alon Zakai2016-05-281-5/+14
| | | | ties
* note number of functions in metricsAlon Zakai2016-05-281-0/+4
|
* add getBits and not-equals helper funcs for LiteralAlon Zakai2016-05-281-0/+12
|
* update functions map in RemoveUnusedFunctions (#545)Alon Zakai2016-05-262-0/+9
|
* Allows parsing of debug information in .S filesYury Delendik2016-05-262-12/+90
| | | | Currently it ignores this information. Also it allows parse files with -asm-verbose=true.
* Merge pull request #543 from WebAssembly/fix-merge-blocksAlon Zakai2016-05-251-1/+1
|\ | | | | Fix merge blocks on named blocks
| * fix a merge-blocks bug where we merged named blocksAlon Zakai2016-05-251-1/+1
| |
* | Add remove unused functions pass. (#463)Michael Bebenita2016-05-253-0/+87
|/
* move blocks outside in merge-blocks so that they can be merged laterAlon Zakai2016-05-241-0/+124
|
* show a parse error for empty stackAlon Zakai2016-05-241-1/+1
|
* catch parse exceptions in s-parsing tooAlon Zakai2016-05-241-38/+39
|
* add a pass to drop return values in set_local and store (#539)Alon Zakai2016-05-232-0/+80
|
* fix isResultUsed bug with ifsAlon Zakai2016-05-231-1/+1
|
* validate after running passes in shellAlon Zakai2016-05-231-0/+1
|
* validate in asm2wasm, and fix some validation errors for thatAlon Zakai2016-05-232-18/+35
|
* Avoid a redundant return in dynCall functions. (#533)Dan Gohman2016-05-231-1/+1
|
* dead code elimination pass (#536)Alon Zakai2016-05-223-0/+353
|
* don't depend on asm.js type detection in binary formation in asm2wasm, use ↵Alon Zakai2016-05-221-5/+4
| | | | the full asm global info we have (#535)
* Update s2wasm for LLVM changes, and regenerate tests. (#532)Dan Gohman2016-05-201-6/+7
|
* type check return types fullyAlon Zakai2016-05-201-1/+7
|
* type check loop output type properlyAlon Zakai2016-05-203-42/+54
|
* in makeMaybeBlock, alloc a nop if there is nothingAlon Zakai2016-05-201-0/+1
|
* fix loop s-parsingAlon Zakai2016-05-201-2/+2
|
* notice only branches out in EffectAnalyzer, internal control flow can be ↵Alon Zakai2016-05-191-4/+22
| | | | ignored (#530)
* Allow implicit function returns. (#529)Dan Gohman2016-05-191-0/+4
|
* vacuum the top of functions tooAlon Zakai2016-05-191-0/+12
|
* vacuum after passes that create garbage; this makes the total time betterAlon Zakai2016-05-191-1/+3
|
* vacuum away everything not tied downAlon Zakai2016-05-192-10/+112
|
* Avoid double dollarsigns in s2wasm local names. (#527)Dan Gohman2016-05-192-6/+10
| | | | | | | | | * Avoid double dollarsigns in s2wasm local names. Recognize '$' as part of the .s syntax for register names, and exclude it when forming the wasm local name. This changes names like "$$0" to "$0". * Fix a comment.
* Added static_cast to prevent direct conversion from subclasses to void*. (#502)MI3Guy2016-05-191-20/+20
|
* Merge pull request #526 from WebAssembly/spec-test-updateAlon Zakai2016-05-1818-637/+1053
|\ | | | | Spec test updates, and many validation fixes
| * store locals in a vector in the interpreter and update wasm.js. also fix ↵Alon Zakai2016-05-182-14/+17
| | | | | | | | address usage in wasm.js
| * be more careful with checking total memory limit on 64-bitAlon Zakai2016-05-181-2/+3
| |
| * finalize s2wasm blocks once at their end, not constantlyAlon Zakai2016-05-181-1/+2
| |
| * use separate internal opcodes for binary variantsAlon Zakai2016-05-1813-353/+577
| |
| * use separate internal opcodes for unary variantsAlon Zakai2016-05-1813-194/+276
| |
| * spec test updates, and many validation fixesAlon Zakai2016-05-187-100/+205
| |
* | avoid deprecated random_shuffle (#524)Alon Zakai2016-05-171-3/+1
|/
* don't emit extra unnecessary blocks for loops in binary format (#523)Alon Zakai2016-05-171-2/+1
|
* Merge pull request #518 from WebAssembly/true-learningAlon Zakai2016-05-172-19/+73
|\ | | | | Activate true learning in local coalescing
| * learn using multiple generationsAlon Zakai2016-05-171-17/+72
| |
| * tweak learning index pickingAlon Zakai2016-05-171-2/+1
| |