summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/passes/metrics.txt4
-rw-r--r--test/passes/metrics.wast3
2 files changed, 5 insertions, 2 deletions
diff --git a/test/passes/metrics.txt b/test/passes/metrics.txt
index 5824a2769..e1f67c583 100644
--- a/test/passes/metrics.txt
+++ b/test/passes/metrics.txt
@@ -1,12 +1,14 @@
Counts
[total] : 18
+ [vars] : 1
binary : 1
block : 1
const : 12
if : 4
(module
(memory 256 256)
- (func $ifs
+ (func $ifs (param $x i32)
+ (local $y f32)
(block $block0
(if
(i32.const 0)
diff --git a/test/passes/metrics.wast b/test/passes/metrics.wast
index 138a8a206..67ad1fc5b 100644
--- a/test/passes/metrics.wast
+++ b/test/passes/metrics.wast
@@ -1,6 +1,7 @@
(module
(memory 256 256)
- (func $ifs
+ (func $ifs (param $x i32)
+ (local $y f32)
(block
(if
(i32.const 0)