diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/passes/reorder-functions.txt | 15 | ||||
-rw-r--r-- | test/passes/reorder-functions.wast | 6 |
2 files changed, 21 insertions, 0 deletions
diff --git a/test/passes/reorder-functions.txt b/test/passes/reorder-functions.txt new file mode 100644 index 000000000..b9c0f1154 --- /dev/null +++ b/test/passes/reorder-functions.txt @@ -0,0 +1,15 @@ +(module + (memory 256 256) + (func $c + (call $c) + (call $c) + (call $c) + ) + (func $b + (call $b) + (call $b) + ) + (func $a + (call $a) + ) +) diff --git a/test/passes/reorder-functions.wast b/test/passes/reorder-functions.wast new file mode 100644 index 000000000..99a8363d4 --- /dev/null +++ b/test/passes/reorder-functions.wast @@ -0,0 +1,6 @@ +(module + (memory 256 256) + (func $a (call $a)) + (func $b (call $b) (call $b)) + (func $c (call $c) (call $c) (call $c)) +) |