summaryrefslogtreecommitdiff
path: root/test/example
Commit message (Collapse)AuthorAgeFilesLines
* Change print order of top-level module components (#751)Derek Schuff2016-10-075-34/+34
| | | | | | | | In wast files, the spec and WABT require imports to appear before any non-import definitions (see also https://github.com/WebAssembly/wabt/issues/152). This patch re-orders visitModule in the wast printer to meet this requirement, and more or less match the order of the binary sections. Also remove extraneous whitespace around table definitions.
* Require unique names in binaryen IR (#746)Alon Zakai2016-10-061-1/+1
|
* Print the name of memory along with size (#720)Derek Schuff2016-09-285-17/+17
| | | | | Otherwise when we export it as "$0" it's an undefined name. The spec interpreter actually rejects this, although I think it's intended to work, given the tests in export.wast. wabt also accepts it.
* Update binary encoding for block, loop, and if signatures (#711)Derek Schuff2016-09-272-6/+6
| | | | | | Also updates the tests and has a few other changes for binary 0xc: Update nop/unrechable opcodes Fix for "name" section
* optimize if(const)Alon Zakai2016-09-242-120/+24
|
* precompute void expressions tooAlon Zakai2016-09-242-60/+0
|
* autoDrop fixAlon Zakai2016-09-232-9/+15
|
* br_if returns its valueAlon Zakai2016-09-162-9/+15
|
* block signaturesAlon Zakai2016-09-162-6/+6
|
* call_import changes: no more call_import, shared index space with functionsAlon Zakai2016-09-164-256/+256
|
* optimize if-else to br_if when in a blockAlon Zakai2016-09-103-46/+40
|
* autodrop if body if no elseAlon Zakai2016-09-072-3/+9
|
* use eqz as an optimizationAlon Zakai2016-09-072-43/+25
|
* new validation checks for upcoming spec testsAlon Zakai2016-09-073-5/+5
|
* new export syntax in spec repoAlon Zakai2016-09-074-10/+10
|
* new import syntax in spec repoAlon Zakai2016-09-074-14/+14
|
* export kindsAlon Zakai2016-09-074-7/+7
|
* update testsAlon Zakai2016-09-071-4/+4
|
* loops no longer have an out label and other upstream loop updatesAlon Zakai2016-09-073-149/+143
|
* call_indirect now has the target at the endAlon Zakai2016-09-072-3/+3
|
* add drop and tee expressionsAlon Zakai2016-09-077-1294/+1919
|
* offset support in tableAlon Zakai2016-08-152-3/+3
|
* support function table initial and max sizes, and new printing formatAlon Zakai2016-08-122-3/+6
|
* support expressions in segment offsetsAlon Zakai2016-08-123-13/+11
|
* more RemoveUnusedName opts: merge names when possible, and do block/loop ↵Alon Zakai2016-07-202-87/+75
| | | | merging based on their names
* avoid label variable usage in relooper for forward branches, just use a ↵Alon Zakai2016-07-204-977/+841
| | | | stack of blocks for them. after this change, only irreducible control flow should cause label variable usage
* add more relooper testing and improve existingAlon Zakai2016-07-207-342/+2562
|
* Don't emit empty array literals in trace output (#631)Alon Zakai2016-07-131-39/+39
| | | | * don't emit empty array literals in trace output
* relooper tracing + fixesAlon Zakai2016-07-123-236/+1369
|
* allow multiple tracesAlon Zakai2016-07-122-9/+6
|
* add a tracing option to the c api, which logs out a runnable program from c ↵Alon Zakai2016-07-124-0/+1070
| | | | api calls
* add a relooper test for duff's device, showing irreducible control flow and ↵Alon Zakai2016-07-072-0/+106
| | | | helper var use
* validate set_local types against the function #618 (#620)Alon Zakai2016-07-062-1/+33
|
* quote names in s-format that need itAlon Zakai2016-07-052-7/+7
|
* Relooper switch support (#617)Alon Zakai2016-07-022-2/+52
| | | | | | * support switches in relooper and c api * update relooper fuzzer for switches
* add c api method to interpret a module, calling its start method (#601)Alon Zakai2016-06-252-0/+34
|
* finalize blocks properly in relooper (#600)Alon Zakai2016-06-242-0/+25
|
* add BinaryenExpressionPrint to c api (#599)Alon Zakai2016-06-242-0/+5
|
* test only c api examples; c++ api is internal and unstable, it is tested by ↵Alon Zakai2016-06-212-67/+0
| | | | our own codebase
* make call_indirect type a name, so that it is not a dependency on the ↵Alon Zakai2016-06-031-1/+1
| | | | module, which would break consistency and make some parallel passes tricky (#568)
* refactor walk logic into walk* and doWalk* methods, for a more regular API ↵Alon Zakai2016-05-301-1/+1
| | | | that is clearer where it should be overridden (#551)
* add a pass that eliminates duplicate functionsAlon Zakai2016-05-281-33/+0
|
* notice only branches out in EffectAnalyzer, internal control flow can be ↵Alon Zakai2016-05-191-26/+4
| | | | ignored (#530)
* vacuum after passes that create garbage; this makes the total time betterAlon Zakai2016-05-191-7/+1
|
* vacuum away everything not tied downAlon Zakai2016-05-191-85/+10
|
* use separate internal opcodes for binary variantsAlon Zakai2016-05-184-52/+52
|
* use separate internal opcodes for unary variantsAlon Zakai2016-05-181-11/+11
|
* spec test updates, and many validation fixesAlon Zakai2016-05-182-340/+348
|
* Merge pull request #507 from WebAssembly/coalesce-localsAlon Zakai2016-05-161-19/+11
|\ | | | | Coalesce locals
| * add cfg-building traversal and a pass to coalesce locals using itAlon Zakai2016-05-151-19/+11
| |