reflect.call: internal/abi: TFlagClosure, internal/lib/reflect: flagClosure.

This commit is contained in:
visualfc
2024-10-29 19:59:32 +08:00
parent 88c0e149b5
commit 6b0122547e
9 changed files with 442 additions and 8 deletions

View File

@@ -447,6 +447,7 @@ _llgo_0:
call void @main.invoke(%"github.com/goplus/llgo/internal/runtime.iface" %111)
%112 = load %main.T6, ptr %15, align 8
%113 = load ptr, ptr @_llgo_main.T6, align 8
call void @"github.com/goplus/llgo/internal/runtime.SetClosure"(ptr %113)
%114 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 16)
store %main.T6 %112, ptr %114, align 8
%115 = load ptr, ptr @"_llgo_iface$uRUteI7wmSy7y7ODhGzk0FdDaxGKMhVSSu6HZEv9aa0", align 8
@@ -1889,6 +1890,8 @@ declare ptr @"github.com/goplus/llgo/internal/runtime.PointerTo"(ptr)
declare ptr @"github.com/goplus/llgo/internal/runtime.ArrayOf"(i64, ptr)
declare void @"github.com/goplus/llgo/internal/runtime.SetClosure"(ptr)
declare ptr @"github.com/goplus/llgo/internal/runtime.IfaceType"(%"github.com/goplus/llgo/internal/runtime.iface")
declare void @"github.com/goplus/llgo/internal/runtime.PrintIface"(%"github.com/goplus/llgo/internal/runtime.iface")