summaryrefslogtreecommitdiff
path: root/test/passes
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes')
-rw-r--r--test/passes/converge_O3_metrics.bin.txt6
-rw-r--r--test/passes/func-metrics.txt3
-rw-r--r--test/passes/fuzz_metrics_noprint.bin.txt3
-rw-r--r--test/passes/metrics_all-features.txt3
4 files changed, 10 insertions, 5 deletions
diff --git a/test/passes/converge_O3_metrics.bin.txt b/test/passes/converge_O3_metrics.bin.txt
index 2df4a4b0b..4c1bed30d 100644
--- a/test/passes/converge_O3_metrics.bin.txt
+++ b/test/passes/converge_O3_metrics.bin.txt
@@ -7,7 +7,7 @@ total
[memory-data] : 28
[table-data] : 429
[tables] : 0
- [total] : 129
+ [total] : 558
[vars] : 4
Binary : 12
Block : 8
@@ -23,6 +23,7 @@ total
LocalGet : 18
LocalSet : 7
Loop : 1
+ RefFunc : 429
Store : 5
(module
(type $i32_i32_i32_=>_i32 (func (param i32 i32 i32) (result i32)))
@@ -249,7 +250,7 @@ total
[memory-data] : 28
[table-data] : 429
[tables] : 0
- [total] : 129
+ [total] : 558
[vars] : 4
Binary : 12
Block : 8
@@ -265,6 +266,7 @@ total
LocalGet : 18
LocalSet : 7
Loop : 1
+ RefFunc : 429
Store : 5
(module
(type $i32_i32_i32_=>_i32 (func (param i32 i32 i32) (result i32)))
diff --git a/test/passes/func-metrics.txt b/test/passes/func-metrics.txt
index 1ca5d2fd9..61d97ddad 100644
--- a/test/passes/func-metrics.txt
+++ b/test/passes/func-metrics.txt
@@ -7,8 +7,9 @@ global
[memory-data] : 9
[table-data] : 3
[tables] : 1
- [total] : 3
+ [total] : 6
Const : 3
+ RefFunc : 3
func: empty
[binary-bytes] : 3
[total] : 1
diff --git a/test/passes/fuzz_metrics_noprint.bin.txt b/test/passes/fuzz_metrics_noprint.bin.txt
index eb24adfa4..d2b5e37e9 100644
--- a/test/passes/fuzz_metrics_noprint.bin.txt
+++ b/test/passes/fuzz_metrics_noprint.bin.txt
@@ -7,7 +7,7 @@ total
[memory-data] : 4
[table-data] : 17
[tables] : 1
- [total] : 5797
+ [total] : 5814
[vars] : 160
Binary : 467
Block : 810
@@ -24,6 +24,7 @@ total
LocalSet : 292
Loop : 127
Nop : 69
+ RefFunc : 17
Return : 259
Select : 53
Store : 53
diff --git a/test/passes/metrics_all-features.txt b/test/passes/metrics_all-features.txt
index ae746355d..14c1bc72d 100644
--- a/test/passes/metrics_all-features.txt
+++ b/test/passes/metrics_all-features.txt
@@ -7,13 +7,14 @@ total
[memory-data] : 9
[table-data] : 3
[tables] : 1
- [total] : 27
+ [total] : 30
[vars] : 1
Binary : 1
Block : 1
Const : 15
Drop : 6
If : 4
+ RefFunc : 3
(module
(type $0 (func (param i32)))
(type $i32_i32_=>_none (func (param i32 i32)))