summaryrefslogtreecommitdiff
path: root/test/passes/metrics.wast
blob: 67ad1fc5b262526090677ef80271cb287bf77ec3 (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
(module
  (memory 256 256)
  (func $ifs (param $x i32)
    (local $y f32)
    (block
      (if
        (i32.const 0)
        (i32.const 1)
      )
      (if_else
        (i32.const 0)
        (i32.const 1)
        (i32.const 2)
      )
      (if_else
        (i32.const 4)
        (i32.const 5)
        (i32.const 6)
      )
      (i32.eq
        (if_else
          (i32.const 4)
          (i32.const 5)
          (i32.const 6)
        )
        (i32.const 177)
      )
    )
  )
)