cl: processPkg check runtimeTypes for generic method

This commit is contained in:
visualfc
2024-09-09 11:03:02 +08:00
parent 74b48ff56b
commit 3bdb921ee5
4 changed files with 854 additions and 4 deletions

View File

@@ -152,10 +152,6 @@ _llgo_2: ; preds = %_llgo_0
unreachable
}
declare void @"github.com/goplus/llgo/internal/runtime.init"()
declare ptr @"github.com/goplus/llgo/internal/runtime.Zeroinit"(ptr, i64)
define linkonce void @"main.T[string,int].Info"(%"main.T[string,int]" %0) {
_llgo_0:
%1 = alloca %"main.T[string,int]", align 8
@@ -192,6 +188,10 @@ _llgo_0:
ret void
}
declare void @"github.com/goplus/llgo/internal/runtime.init"()
declare ptr @"github.com/goplus/llgo/internal/runtime.Zeroinit"(ptr, i64)
define void @"main.init$after"() {
_llgo_0:
%0 = call ptr @"github.com/goplus/llgo/internal/runtime.NewNamed"(i64 25, i64 24, i64 1, i64 2)