summaryrefslogtreecommitdiff
path: root/test/passes/metrics_all-features.txt
blob: a5e80db455c69b643729c5f883ac77272d225641 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
Metrics
total
 [exports]      : 0       
 [funcs]        : 1       
 [globals]      : 1       
 [imports]      : 0       
 [memories]     : 1       
 [memory-data]  : 9       
 [table-data]   : 3       
 [tables]       : 1       
 [tags]         : 2       
 [total]        : 30      
 [vars]         : 1       
 Binary         : 1       
 Block          : 1       
 Const          : 15      
 Drop           : 6       
 If             : 4       
 RefFunc        : 3       
(module
 (type $0 (func (param i32)))
 (type $1 (func (param i32 i32)))
 (global $glob i32 (i32.const 1337))
 (memory $0 256 256)
 (data $0 (i32.const 0) "\ff\ef\0f\1f 0@P\99")
 (table $0 256 256 funcref)
 (elem $0 (i32.const 0) $ifs $ifs $ifs)
 (tag $e0 (param i32))
 (tag $e1 (param i32 i32))
 (func $ifs (type $0) (param $x i32)
  (local $y f32)
  (block $block0
   (if
    (i32.const 0)
    (then
     (drop
      (i32.const 1)
     )
    )
   )
   (if
    (i32.const 0)
    (then
     (drop
      (i32.const 1)
     )
    )
    (else
     (drop
      (i32.const 2)
     )
    )
   )
   (if
    (i32.const 4)
    (then
     (drop
      (i32.const 5)
     )
    )
    (else
     (drop
      (i32.const 6)
     )
    )
   )
   (drop
    (i32.eq
     (if (result i32)
      (i32.const 4)
      (then
       (i32.const 5)
      )
      (else
       (i32.const 6)
      )
     )
     (i32.const 177)
    )
   )
  )
 )
)
Metrics
total
 [exports]      : 0       
 [funcs]        : 0       
 [globals]      : 0       
 [imports]      : 0       
 [memories]     : 0       
 [tables]       : 0       
 [tags]         : 0       
 [total]        : 0       
 [vars]         : 0       
(module
)