summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #555 from WebAssembly/spec-test-fixesAlon Zakai2016-06-012-3/+3
|\ | | | | Spec test fixes
| * invalid break labels are parse errorsAlon Zakai2016-06-011-3/+2
| |
| * note default in type checking of switchesAlon Zakai2016-06-011-0/+1
| |
* | if we use the zero-init value of a local, we cannot coalesce it with a param ↵Alon Zakai2016-06-018-6/+139
| | | | | | | | (#556)
* | Merge pull request #552 from WebAssembly/dup-asm2wasm-exportsAlon Zakai2016-06-018-25882/+29758
|\ \ | |/ |/| asm2wasm regression fixes
| * handle stack frames we skip over by jumping up the stack, and update wasm.jsAlon Zakai2016-06-012-25877/+29723
| |
| * handle duplicate exports in asm2wasmAlon Zakai2016-05-316-5/+35
| |
* | 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-3010-31/+42
| | | | that is clearer where it should be overridden (#551)
* Merge pull request #550 from WebAssembly/dfe-niceAlon Zakai2016-05-2922-938/+3062
|\ | | | | Duplicate function elimination
| * add a pass that eliminates duplicate functionsAlon Zakai2016-05-2810-79/+1760
| |
| * 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-289-859/+868
| | | | | | | | ties
| * note number of functions in metricsAlon Zakai2016-05-282-0/+5
| |
| * 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
|
* Merge pull request #544 from yurydelendik/parse-debugYury Delendik2016-05-264-12/+448
|\ | | | | Allows parsing debug information in the .S files
| * Allows parsing of debug information in .S filesYury Delendik2016-05-264-12/+448
|/ | | | 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-256-541/+458
|\ | | | | Fix merge blocks on named blocks
| * add a merge-block testAlon Zakai2016-05-252-0/+28
| |
| * fix a merge-blocks bug where we merged named blocksAlon Zakai2016-05-254-538/+426
| |
| * allow passes tests with more than one passAlon Zakai2016-05-252-3/+4
| |
* | Add remove unused functions pass. (#463)Michael Bebenita2016-05-255-0/+164
|/
* update spec tests, and handle the new .fail. tests (#541)Alon Zakai2016-05-252-3/+14
|
* Merge pull request #540 from WebAssembly/merge-blocksAlon Zakai2016-05-2414-258/+1657
|\ | | | | Merge blocks improvements
| * move blocks outside in merge-blocks so that they can be merged laterAlon Zakai2016-05-2412-219/+1617
| |
| * 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-234-0/+120
|
* Merge pull request #538 from WebAssembly/asm2wasm-validationAlon Zakai2016-05-2310-6204/+8623
|\ | | | | More validation
| * fix isResultUsed bug with ifsAlon Zakai2016-05-235-159/+304
| |
| * update wasm.jsAlon Zakai2016-05-232-6027/+8283
| |
| * 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-235-38/+24
|
* dead code elimination pass (#536)Alon Zakai2016-05-229-654/+1419
|
* don't depend on asm.js type detection in binary formation in asm2wasm, use ↵Alon Zakai2016-05-227-6768/+6711
| | | | the full asm global info we have (#535)
* Update s2wasm for LLVM changes, and regenerate tests. (#532)Dan Gohman2016-05-2077-6064/+7365
|
* Merge pull request #531 from WebAssembly/fixesAlon Zakai2016-05-204-45/+64
|\ | | | | Type checking fixes
| * 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-1910-2361/+2297
| | | | ignored (#530)
* Allow implicit function returns. (#529)Dan Gohman2016-05-193-0/+33
|
* Merge pull request #528 from WebAssembly/vacuum-betterAlon Zakai2016-05-1932-2011/+116511
|\ | | | | Vacuum improvements
| * vacuum the top of functions tooAlon Zakai2016-05-195-34/+33
| |
| * vacuum after passes that create garbage; this makes the total time betterAlon Zakai2016-05-1910-1441/+1410
| |
| * add --no-opt testing to asm2wasmAlon Zakai2016-05-1916-49/+114751
| |
| * vacuum away everything not tied downAlon Zakai2016-05-1915-512/+342
|/