blob: 4aca378e6e411e3ab8195c2abb3312957dd0e9f4 [file] [log] [blame] [edit]
(module
(type $FUNCSIG$v (func))
(type $FUNCSIG$i (func (result i32)))
(type $FUNCSIG$d (func (result f64)))
(type $FUNCSIG$vfj (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 $FUNCSIG$v)
(call $exported)
(call $tabled)
(call $multi)
(call $multi)
)
(func $exported (; 1 ;) (type $FUNCSIG$v)
(nop)
(nop)
)
(func $exported_small (; 2 ;) (type $FUNCSIG$v)
(nop)
)
(func $recursive (; 3 ;) (type $FUNCSIG$v)
(call $recursive)
)
(func $tabled (; 4 ;) (type $FUNCSIG$v)
(nop)
(nop)
)
(func $cycle1 (; 5 ;) (type $FUNCSIG$v)
(call $cycle1)
)
(func $multi (; 6 ;) (type $FUNCSIG$v)
(nop)
(nop)
)
)
(module
(type $FUNCSIG$i (func (result i32)))
(type $FUNCSIG$v (func))
(func $main (; 0 ;) (type $FUNCSIG$i) (result i32)
(unreachable)
)
)
(module
(type $FUNCSIG$i (func (result i32)))
(type $FUNCSIG$j (func (result i64)))
(memory $0 (shared 1 1))
(func $1 (; 0 ;) (type $FUNCSIG$j) (result i64)
(i32.atomic.store16
(i32.const 0)
(i32.const 0)
)
(i64.const 0)
)
)
(module
(type $FUNCSIG$v (func))
(func $main (; 0 ;) (type $FUNCSIG$v)
(call $one)
(call $one)
)
(func $one (; 1 ;) (type $FUNCSIG$v)
(call $one)
)
)
(module
(type $FUNCSIG$v (func))
(func $main (; 0 ;) (type $FUNCSIG$v)
(call $two)
(call $two)
)
(func $two (; 1 ;) (type $FUNCSIG$v)
(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)
)
)