File: unreachable-get-cycle.wast

package info (click to toggle)
binaryen 99-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 31,352 kB
  • sloc: cpp: 134,831; javascript: 61,839; ansic: 12,369; python: 4,620; pascal: 441; sh: 72; asm: 27; makefile: 6
file content (35 lines) | stat: -rw-r--r-- 605 bytes parent folder | download | duplicates (2)
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
(module
 (type $0 (func (param i64 f64) (result i64)))
 (memory $0 1 1)
 (func $0 (; 0 ;) (type $0) (param $0 i64) (param $1 f64) (result i64)
  (local $2 f32)
  (if (result i64)
   (loop $label$1 (result i32)
    (br_if $label$1
     (i32.const 1)
    )
    (i32.const 0)
   )
   (loop $label$3
    (block $label$4
     (f32.store offset=22 align=2
      (i32.const 0)
      (local.get $2)
     )
     (drop
      (local.tee $2
       (if (result f32)
        (i32.const -19666)
        (local.get $2)
        (unreachable)
       )
      )
     )
    )
    (br $label$3)
   )
   (i64.const 1)
  )
 )
)