blob: 74ddb5e2e80d2a1911209a3da387cb4f3c23c42e (
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
|
(module
(type $0 (func))
(type $1 (func (param i32 i32) (result i32)))
(type $2 (func (param i64 i32) (result f64)))
(type $3 (func (param f64) (result f64)))
(type $4 (func (result i32)))
(memory $0 (shared 1 1))
(export "one" (func $0))
(export "two" (func $1))
(export "use-var" (func $2))
(export "bad1" (func $3))
(export "only-dfo" (func $4))
(export "dfo-tee-get" (func $5))
(func $0 (; 0 ;) (; has Stack IR ;) (type $0)
(block $label$3
(br_if $label$3
(i32.load
(i32.const 3060)
)
)
)
(unreachable)
)
(func $1 (; 1 ;) (; has Stack IR ;) (type $1) (param $0 i32) (param $1 i32) (result i32)
(i32.const 0)
)
(func $2 (; 2 ;) (; has Stack IR ;) (type $2) (param $0 i64) (param $1 i32) (result f64)
(loop $label$8
(br_if $label$8
(local.get $1)
)
)
(unreachable)
)
(func $3 (; 3 ;) (; has Stack IR ;) (type $0)
(i32.store
(i32.const 1)
(i32.const -16384)
)
)
(func $4 (; 4 ;) (; has Stack IR ;) (type $3) (param $0 f64) (result f64)
(local $1 i32)
(loop $label$1
(br $label$1)
)
)
(func $5 (; 5 ;) (; has Stack IR ;) (type $4) (result i32)
(i32.const 1)
)
)
|