diff options
Diffstat (limited to 'test/passes/log-execution.wast')
-rw-r--r-- | test/passes/log-execution.wast | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/test/passes/log-execution.wast b/test/passes/log-execution.wast new file mode 100644 index 000000000..12175fbcb --- /dev/null +++ b/test/passes/log-execution.wast @@ -0,0 +1,35 @@ +(module + (func $nopp + (nop) + ) + (func $intt (result i32) + (i32.const 10) + ) + (func $workk + (if (i32.const 0) (nop)) + (drop (i32.const 1)) + ) + (func $loops + (loop $x + (call $loops) + (br $x) + ) + (if (call $intt) + (loop $y + (call $loops) + ) + ) + (loop + (drop (i32.const 10)) + (drop (i32.const 20)) + (drop (i32.const 30)) + ) + ) + (func $loops-similar + (loop $x + (call $loops) + (br $x) + ) + ) +) + |