diff options
Diffstat (limited to 'test/passes/func-metrics.wast')
-rw-r--r-- | test/passes/func-metrics.wast | 38 |
1 files changed, 26 insertions, 12 deletions
diff --git a/test/passes/func-metrics.wast b/test/passes/func-metrics.wast index e95d819d9..3b7f79b13 100644 --- a/test/passes/func-metrics.wast +++ b/test/passes/func-metrics.wast @@ -16,34 +16,48 @@ (block $block0 (if (i32.const 0) - (drop - (i32.const 1) + (then + (drop + (i32.const 1) + ) ) ) (if (i32.const 0) - (drop - (i32.const 1) + (then + (drop + (i32.const 1) + ) ) - (drop - (i32.const 2) + (else + (drop + (i32.const 2) + ) ) ) (if (i32.const 4) - (drop - (i32.const 5) + (then + (drop + (i32.const 5) + ) ) - (drop - (i32.const 6) + (else + (drop + (i32.const 6) + ) ) ) (drop (i32.eq (if (result i32) (i32.const 4) - (i32.const 5) - (i32.const 6) + (then + (i32.const 5) + ) + (else + (i32.const 6) + ) ) (i32.const 177) ) |