diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-05-16 17:23:35 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-05-16 17:23:35 -0700 |
commit | ed9f3272b911ffb69aec9d0ee854f725a80b3baa (patch) | |
tree | 601a971baf5d20e7d0fb788b902a3535dd5e0d0a /test | |
parent | ec184cc9df650b2b7e047633a407d55a21ba3760 (diff) | |
parent | 3a01c5d7d1f03fb88d249ca1ecca6325b77e799a (diff) | |
download | binaryen-ed9f3272b911ffb69aec9d0ee854f725a80b3baa.tar.gz binaryen-ed9f3272b911ffb69aec9d0ee854f725a80b3baa.tar.bz2 binaryen-ed9f3272b911ffb69aec9d0ee854f725a80b3baa.zip |
Merge pull request #511 from WebAssembly/metrics-better
Metrics improvements
Diffstat (limited to 'test')
-rw-r--r-- | test/passes/metrics.txt | 6 | ||||
-rw-r--r-- | test/passes/metrics.wast | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/test/passes/metrics.txt b/test/passes/metrics.txt index 05a69c5aa..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 -Total : 18 (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) |