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 97 98 99 100 101
|
(module
(type $0 (func))
(type $1 (func (result i32)))
(type $2 (func (result f64)))
(type $3 (func (param f32 i64)))
(table $0 1 1 funcref)
(elem (i32.const 0) $tabled)
(export "user" (func $user))
(export "exported" (func $exported))
(export "exported_small" (func $exported_small))
(func $user (; 0 ;) (type $0)
(call $exported)
(call $tabled)
(call $multi)
(call $multi)
)
(func $exported (; 1 ;) (type $0)
(nop)
(nop)
)
(func $exported_small (; 2 ;) (type $0)
(nop)
)
(func $recursive (; 3 ;) (type $0)
(call $recursive)
)
(func $tabled (; 4 ;) (type $0)
(nop)
(nop)
)
(func $cycle1 (; 5 ;) (type $0)
(call $cycle1)
)
(func $multi (; 6 ;) (type $0)
(nop)
(nop)
)
)
(module
(type $0 (func (result i32)))
(type $1 (func))
(func $main (; 0 ;) (type $0) (result i32)
(unreachable)
)
)
(module
(type $0 (func (result i32)))
(type $1 (func (result i64)))
(memory $0 (shared 1 1))
(func $1 (; 0 ;) (type $1) (result i64)
(i32.atomic.store16
(i32.const 0)
(i32.const 0)
)
(i64.const 0)
)
)
(module
(type $0 (func))
(func $main (; 0 ;) (type $0)
(call $one)
(call $one)
)
(func $one (; 1 ;) (type $0)
(call $one)
)
)
(module
(type $0 (func))
(func $main (; 0 ;) (type $0)
(call $two)
(call $two)
)
(func $two (; 1 ;) (type $0)
(call $two)
)
)
(module
(type $0 (func))
(type $1 (func (param i32 i32) (result i32)))
(memory $0 17)
(table $0 89 89 funcref)
(start $1)
(func $1 (; 0 ;) (type $0)
(i32.store
(i32.const 4)
(i32.const 0)
)
(i32.store
(i32.const 56)
(i32.const 0)
)
(i64.store
(i32.const 49)
(i64.load
(i32.const 24)
)
)
(unreachable)
)
)
|