blob: a5fc2c6bc32c9131753204471cac3829b33471bd [file] [log] [blame] [edit]
(module $module0
(type $#Top <...>)
(type $Array<_Type> <...>)
(type $Array<Object?> <...>)
(type $_InterfaceType <...>)
(type $Array<_NamedParameter> <...>)
(type $_FunctionType <...>)
(rec
(type $#Closure-0-0 <...>)
(type $type9 <...>)
(type $#Vtable-0-0 <...>)
)
(type $type15 <...>)
(type $_TopType <...>)
(type $type12 <...>)
(type $#Vtable-0-2 (sub final $#Vtable-0-0 (struct
(field $dynamiClosureCallEntry (ref $type9))
(field $closureCallEntry-0-1 (ref $type12))
(field $closureCallEntry-0-2 (ref $type15)))))
(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 $#DummyStruct <...>)
(global $"C1 WasmArray<_Type>[0]" (ref $Array<_Type>) <...>)
(global $"C311 WasmArray<_NamedParameter>[0]" (ref $Array<_NamedParameter>) <...>)
(global $"C337 _TopType" (ref $_TopType) <...>)
(global $"C28 _InterfaceType" (ref $_InterfaceType) <...>)
(global $global3 (ref $#DummyStruct) <...>)
(global $"C341 foo tear-off" (ref $#Closure-0-2)
(i32.const 55)
(i32.const 0)
(global.get $global3)
(ref.func $"closure arguments dispatcher representation=0-2")
(ref.func $"foo tear-off trampoline")
(ref.func $"foo tear-off trampoline_303")
(struct.new $#Vtable-0-2)
(i32.const 12)
(i32.const 0)
(i32.const 0)
(global.get $"C1 WasmArray<_Type>[0]")
(global.get $"C1 WasmArray<_Type>[0]")
(global.get $"C337 _TopType")
(global.get $"C28 _InterfaceType")
(i32.const 10)
(i32.const 0)
(i32.const 1)
(i32.const 150)
(global.get $"C1 WasmArray<_Type>[0]")
(struct.new $_InterfaceType)
(array.new_fixed $Array<_Type> 2)
(i64.const 1)
(global.get $"C311 WasmArray<_NamedParameter>[0]")
(struct.new $_FunctionType)
(struct.new $#Closure-0-2))
(global $"C345 bar tear-off" (ref $#Closure-0-2)
(i32.const 55)
(i32.const 0)
(global.get $global3)
(ref.func $"closure arguments dispatcher representation=0-2")
(ref.func $"bar tear-off trampoline")
(ref.func $"bar tear-off trampoline_306")
(struct.new $#Vtable-0-2)
(i32.const 12)
(i32.const 0)
(i32.const 0)
(global.get $"C1 WasmArray<_Type>[0]")
(global.get $"C1 WasmArray<_Type>[0]")
(global.get $"C337 _TopType")
(global.get $"C28 _InterfaceType")
(i32.const 10)
(i32.const 0)
(i32.const 1)
(i32.const 133)
(global.get $"C1 WasmArray<_Type>[0]")
(struct.new $_InterfaceType)
(array.new_fixed $Array<_Type> 2)
(i64.const 1)
(global.get $"C311 WasmArray<_NamedParameter>[0]")
(struct.new $_FunctionType)
(struct.new $#Closure-0-2))
(func $closure arguments dispatcher representation=0-2 (param $var0 (ref $#Closure-0-0)) (param $var1 (ref $Array<_Type>)) (param $var2 (ref $Array<Object?>)) (param $var3 (ref $Array<Object?>)) (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_303 (param $var0 (ref struct)) (param $var1 (ref null $#Top)) (param $var2 (ref null $#Top)) (result (ref null $#Top)) <...>)
(func $bar tear-off trampoline (param $var0 (ref struct)) (param $var1 (ref null $#Top)) (result (ref null $#Top)) <...>)
(func $bar tear-off trampoline_306 (param $var0 (ref struct)) (param $var1 (ref null $#Top)) (param $var2 (ref null $#Top)) (result (ref null $#Top)) <...>)
)