diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/passes/metrics.txt | 5 | ||||
-rw-r--r-- | test/passes/metrics.wast | 1 |
2 files changed, 4 insertions, 2 deletions
diff --git a/test/passes/metrics.txt b/test/passes/metrics.txt index 2ab45b440..d381dbc46 100644 --- a/test/passes/metrics.txt +++ b/test/passes/metrics.txt @@ -2,15 +2,16 @@ Counts [funcs] : 1 [memory-data] : 9 [table-data] : 3 - [total] : 26 + [total] : 27 [vars] : 1 binary : 1 block : 1 - const : 14 + const : 15 drop : 6 if : 4 (module (type $0 (func (param i32))) + (global $glob i32 (i32.const 1337)) (table 256 256 anyfunc) (elem (i32.const 0) $ifs $ifs $ifs) (memory $0 256 256) diff --git a/test/passes/metrics.wast b/test/passes/metrics.wast index 242b254da..be31ea23a 100644 --- a/test/passes/metrics.wast +++ b/test/passes/metrics.wast @@ -4,6 +4,7 @@ (elem (i32.const 0) $ifs $ifs $ifs) (data (i32.const 0) "\ff\ef\0f\1f\20\30\40\50\99") (type $0 (func (param i32))) + (global $glob i32 (i32.const 1337)) (func $ifs (type $0) (param $x i32) (local $y f32) (block $block0 |