blob: c21a8cbc42e1164014369b7bd177fd3317917fd1 [file]
(module $module0
(type $"dummy struct" <...>)
(type $#Closure-0-0 <...>)
(type $#Closure-0-2 (sub final $#Closure-0-0 (struct
(field $field0 i32)
(field $field1 (mut i32))
(field $context (ref struct))
(field $vtable (ref $#Vtable-0-2))
(field $functionType (ref $_FunctionType)))))
(type $#Top <...>)
(type $#Vtable-0-2 (sub final $"dummy struct" (struct
(field $closureCallEntry-0-1 (ref $type0))
(field $closureCallEntry-0-2 (ref $type2)))))
(type $Array<_NamedParameter> <...>)
(type $Array<_Type> <...>)
(type $_FunctionType <...>)
(type $_InterfaceType <...>)
(type $_TopType <...>)
(type $type0 <...>)
(type $type2 <...>)
(global $"WasmArray<_NamedParameter>[0]" (ref $Array<_NamedParameter>) <...>)
(global $"WasmArray<_Type>[0]" (ref $Array<_Type>) <...>)
(global $"bar tear-off" (ref $#Closure-0-2)
(i32.const 47)
(i32.const 0)
(global.get $global0)
(ref.func $"bar tear-off trampoline")
(ref.func $"bar tear-off trampoline_118")
(struct.new $#Vtable-0-2)
(i32.const 11)
(i32.const 0)
(i32.const 0)
(global.get $"WasmArray<_Type>[0]")
(global.get $"WasmArray<_Type>[0]")
(global.get $_TopType_290)
(global.get $_InterfaceType_29)
(i32.const 9)
(i32.const 0)
(i32.const 1)
(i32.const 126)
(global.get $"WasmArray<_Type>[0]")
(struct.new $_InterfaceType)
(array.new_fixed $Array<_Type> 2)
(i64.const 1)
(global.get $"WasmArray<_NamedParameter>[0]")
(struct.new $_FunctionType)
(struct.new $#Closure-0-2))
(global $"foo tear-off" (ref $#Closure-0-2)
(i32.const 47)
(i32.const 0)
(global.get $global0)
(ref.func $"foo tear-off trampoline")
(ref.func $"foo tear-off trampoline_114")
(struct.new $#Vtable-0-2)
(i32.const 11)
(i32.const 0)
(i32.const 0)
(global.get $"WasmArray<_Type>[0]")
(global.get $"WasmArray<_Type>[0]")
(global.get $_TopType_290)
(global.get $_InterfaceType_29)
(i32.const 9)
(i32.const 0)
(i32.const 1)
(i32.const 143)
(global.get $"WasmArray<_Type>[0]")
(struct.new $_InterfaceType)
(array.new_fixed $Array<_Type> 2)
(i64.const 1)
(global.get $"WasmArray<_NamedParameter>[0]")
(struct.new $_FunctionType)
(struct.new $#Closure-0-2))
(global $_InterfaceType_29 (ref $_InterfaceType) <...>)
(global $_TopType_290 (ref $_TopType) <...>)
(global $global0 (ref $"dummy struct") <...>)
(func $bar tear-off trampoline (param $var0 (ref struct)) (param $var1 (ref null $#Top)) (result (ref null $#Top)) <...>)
(func $bar tear-off trampoline_118 (param $var0 (ref struct)) (param $var1 (ref null $#Top)) (param $var2 (ref null $#Top)) (result (ref null $#Top)) <...>)
(func $foo tear-off trampoline (param $var0 (ref struct)) (param $var1 (ref null $#Top)) (result (ref null $#Top)) <...>)
(func $foo tear-off trampoline_114 (param $var0 (ref struct)) (param $var1 (ref null $#Top)) (param $var2 (ref null $#Top)) (result (ref null $#Top)) <...>)
)