diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-08-07 10:38:34 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-09-07 09:54:51 -0700 |
commit | 9d27d6818f83308c4853e3d8870d5b88a374453f (patch) | |
tree | 50c25e5177efb7a8e910e586398aab3cfd1522c7 /test/passes/reorder-functions.wast | |
parent | 0783d60d9490666ab4b365e738b0132b378c6018 (diff) | |
download | binaryen-9d27d6818f83308c4853e3d8870d5b88a374453f.tar.gz binaryen-9d27d6818f83308c4853e3d8870d5b88a374453f.tar.bz2 binaryen-9d27d6818f83308c4853e3d8870d5b88a374453f.zip |
add drop and tee expressions
Diffstat (limited to 'test/passes/reorder-functions.wast')
-rw-r--r-- | test/passes/reorder-functions.wast | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/test/passes/reorder-functions.wast b/test/passes/reorder-functions.wast index 99a8363d4..a69afa3b9 100644 --- a/test/passes/reorder-functions.wast +++ b/test/passes/reorder-functions.wast @@ -1,6 +1,16 @@ (module (memory 256 256) - (func $a (call $a)) - (func $b (call $b) (call $b)) - (func $c (call $c) (call $c) (call $c)) + (type $0 (func)) + (func $a (type $0) + (call $a) + ) + (func $b (type $0) + (call $b) + (call $b) + ) + (func $c (type $0) + (call $c) + (call $c) + (call $c) + ) ) |