internal/runtime: check abi.KindDirectIface
This commit is contained in:
@@ -7,7 +7,6 @@ source_filename = "main"
|
||||
%"github.com/goplus/llgo/internal/runtime.String" = type { ptr, i64 }
|
||||
%"github.com/goplus/llgo/internal/abi.StructField" = type { %"github.com/goplus/llgo/internal/runtime.String", ptr, i64, %"github.com/goplus/llgo/internal/runtime.String", i1 }
|
||||
%"github.com/goplus/llgo/internal/runtime.Slice" = type { ptr, i64, i64 }
|
||||
%"github.com/goplus/llgo/internal/abi.Type" = type { i64, i64, i32, i8, i8, i8, i8, { ptr, ptr }, ptr, %"github.com/goplus/llgo/internal/runtime.String", ptr }
|
||||
%"github.com/goplus/llgo/internal/abi.Method" = type { %"github.com/goplus/llgo/internal/runtime.String", ptr, ptr, ptr }
|
||||
|
||||
@"main.init$guard" = global i1 false, align 1
|
||||
@@ -202,7 +201,7 @@ _llgo_2: ; preds = %_llgo_1, %_llgo_0
|
||||
%9 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %7, i32 0, i32 1
|
||||
store i64 0, ptr %9, align 4
|
||||
%10 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %7, align 8
|
||||
%11 = call ptr @"github.com/goplus/llgo/internal/runtime.Basic"(i64 8)
|
||||
%11 = call ptr @"github.com/goplus/llgo/internal/runtime.Basic"(i64 40)
|
||||
%12 = call ptr @"github.com/goplus/llgo/internal/runtime.PointerTo"(ptr %11)
|
||||
%13 = call %"github.com/goplus/llgo/internal/abi.StructField" @"github.com/goplus/llgo/internal/runtime.StructField"(%"github.com/goplus/llgo/internal/runtime.String" %6, ptr %12, i64 0, %"github.com/goplus/llgo/internal/runtime.String" %10, i1 false)
|
||||
%14 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
@@ -217,7 +216,7 @@ _llgo_2: ; preds = %_llgo_1, %_llgo_0
|
||||
%20 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %18, i32 0, i32 1
|
||||
store i64 0, ptr %20, align 4
|
||||
%21 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %18, align 8
|
||||
%22 = call ptr @"github.com/goplus/llgo/internal/runtime.Basic"(i64 13)
|
||||
%22 = call ptr @"github.com/goplus/llgo/internal/runtime.Basic"(i64 45)
|
||||
%23 = call %"github.com/goplus/llgo/internal/abi.StructField" @"github.com/goplus/llgo/internal/runtime.StructField"(%"github.com/goplus/llgo/internal/runtime.String" %17, ptr %22, i64 8, %"github.com/goplus/llgo/internal/runtime.String" %21, i1 false)
|
||||
%24 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%25 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %24, i32 0, i32 0
|
||||
@@ -269,7 +268,7 @@ _llgo_4: ; preds = %_llgo_10, %_llgo_2
|
||||
%51 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %49, i32 0, i32 1
|
||||
store i64 0, ptr %51, align 4
|
||||
%52 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %49, align 8
|
||||
%53 = call ptr @"github.com/goplus/llgo/internal/runtime.Basic"(i64 8)
|
||||
%53 = call ptr @"github.com/goplus/llgo/internal/runtime.Basic"(i64 40)
|
||||
%54 = call ptr @"github.com/goplus/llgo/internal/runtime.PointerTo"(ptr %53)
|
||||
%55 = call %"github.com/goplus/llgo/internal/abi.StructField" @"github.com/goplus/llgo/internal/runtime.StructField"(%"github.com/goplus/llgo/internal/runtime.String" %48, ptr %54, i64 0, %"github.com/goplus/llgo/internal/runtime.String" %52, i1 false)
|
||||
%56 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
@@ -284,7 +283,7 @@ _llgo_4: ; preds = %_llgo_10, %_llgo_2
|
||||
%62 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %60, i32 0, i32 1
|
||||
store i64 0, ptr %62, align 4
|
||||
%63 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %60, align 8
|
||||
%64 = call ptr @"github.com/goplus/llgo/internal/runtime.Basic"(i64 13)
|
||||
%64 = call ptr @"github.com/goplus/llgo/internal/runtime.Basic"(i64 45)
|
||||
%65 = call %"github.com/goplus/llgo/internal/abi.StructField" @"github.com/goplus/llgo/internal/runtime.StructField"(%"github.com/goplus/llgo/internal/runtime.String" %59, ptr %64, i64 8, %"github.com/goplus/llgo/internal/runtime.String" %63, i1 false)
|
||||
%66 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%67 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %66, i32 0, i32 0
|
||||
@@ -324,115 +323,109 @@ _llgo_4: ; preds = %_llgo_10, %_llgo_2
|
||||
ret void
|
||||
|
||||
_llgo_5: ; preds = %_llgo_3
|
||||
%88 = call ptr @"github.com/goplus/llgo/internal/runtime.Basic"(i64 8)
|
||||
%89 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Type", ptr %88, i32 0, i32 6
|
||||
%90 = load i8, ptr %89, align 1
|
||||
%91 = or i8 %90, 32
|
||||
store i8 %91, ptr %89, align 1
|
||||
%88 = call ptr @"github.com/goplus/llgo/internal/runtime.Basic"(i64 40)
|
||||
store ptr %88, ptr @_llgo_byte, align 8
|
||||
br label %_llgo_6
|
||||
|
||||
_llgo_6: ; preds = %_llgo_5, %_llgo_3
|
||||
%92 = load ptr, ptr @"*_llgo_byte", align 8
|
||||
%93 = icmp eq ptr %92, null
|
||||
br i1 %93, label %_llgo_7, label %_llgo_8
|
||||
%89 = load ptr, ptr @"*_llgo_byte", align 8
|
||||
%90 = icmp eq ptr %89, null
|
||||
br i1 %90, label %_llgo_7, label %_llgo_8
|
||||
|
||||
_llgo_7: ; preds = %_llgo_6
|
||||
%94 = call ptr @"github.com/goplus/llgo/internal/runtime.Basic"(i64 8)
|
||||
%95 = call ptr @"github.com/goplus/llgo/internal/runtime.PointerTo"(ptr %94)
|
||||
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %95)
|
||||
store ptr %95, ptr @"*_llgo_byte", align 8
|
||||
%91 = call ptr @"github.com/goplus/llgo/internal/runtime.Basic"(i64 40)
|
||||
%92 = call ptr @"github.com/goplus/llgo/internal/runtime.PointerTo"(ptr %91)
|
||||
store ptr %92, ptr @"*_llgo_byte", align 8
|
||||
br label %_llgo_8
|
||||
|
||||
_llgo_8: ; preds = %_llgo_7, %_llgo_6
|
||||
%96 = load ptr, ptr @"*_llgo_byte", align 8
|
||||
%97 = load ptr, ptr @"_llgo_func$NfGSLZ1QiKRoFkKeqYSXE5hUU5bpeteSJKrbMNUzYRE", align 8
|
||||
%98 = icmp eq ptr %97, null
|
||||
br i1 %98, label %_llgo_9, label %_llgo_10
|
||||
%93 = load ptr, ptr @"*_llgo_byte", align 8
|
||||
%94 = load ptr, ptr @"_llgo_func$NfGSLZ1QiKRoFkKeqYSXE5hUU5bpeteSJKrbMNUzYRE", align 8
|
||||
%95 = icmp eq ptr %94, null
|
||||
br i1 %95, label %_llgo_9, label %_llgo_10
|
||||
|
||||
_llgo_9: ; preds = %_llgo_8
|
||||
%99 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 0)
|
||||
%100 = alloca %"github.com/goplus/llgo/internal/runtime.Slice", align 8
|
||||
%101 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %100, i32 0, i32 0
|
||||
store ptr %99, ptr %101, align 8
|
||||
%102 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %100, i32 0, i32 1
|
||||
store i64 0, ptr %102, align 4
|
||||
%103 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %100, i32 0, i32 2
|
||||
store i64 0, ptr %103, align 4
|
||||
%104 = load %"github.com/goplus/llgo/internal/runtime.Slice", ptr %100, align 8
|
||||
%105 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 8)
|
||||
%106 = getelementptr ptr, ptr %105, i64 0
|
||||
store ptr %96, ptr %106, align 8
|
||||
%107 = alloca %"github.com/goplus/llgo/internal/runtime.Slice", align 8
|
||||
%108 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %107, i32 0, i32 0
|
||||
store ptr %105, ptr %108, align 8
|
||||
%109 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %107, i32 0, i32 1
|
||||
store i64 1, ptr %109, align 4
|
||||
%110 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %107, i32 0, i32 2
|
||||
store i64 1, ptr %110, align 4
|
||||
%111 = load %"github.com/goplus/llgo/internal/runtime.Slice", ptr %107, align 8
|
||||
%112 = call ptr @"github.com/goplus/llgo/internal/runtime.Func"(%"github.com/goplus/llgo/internal/runtime.Slice" %104, %"github.com/goplus/llgo/internal/runtime.Slice" %111, i1 false)
|
||||
call void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr %112)
|
||||
store ptr %112, ptr @"_llgo_func$NfGSLZ1QiKRoFkKeqYSXE5hUU5bpeteSJKrbMNUzYRE", align 8
|
||||
%96 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 0)
|
||||
%97 = alloca %"github.com/goplus/llgo/internal/runtime.Slice", align 8
|
||||
%98 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %97, i32 0, i32 0
|
||||
store ptr %96, ptr %98, align 8
|
||||
%99 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %97, i32 0, i32 1
|
||||
store i64 0, ptr %99, align 4
|
||||
%100 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %97, i32 0, i32 2
|
||||
store i64 0, ptr %100, align 4
|
||||
%101 = load %"github.com/goplus/llgo/internal/runtime.Slice", ptr %97, align 8
|
||||
%102 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 8)
|
||||
%103 = getelementptr ptr, ptr %102, i64 0
|
||||
store ptr %93, ptr %103, align 8
|
||||
%104 = alloca %"github.com/goplus/llgo/internal/runtime.Slice", align 8
|
||||
%105 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %104, i32 0, i32 0
|
||||
store ptr %102, ptr %105, align 8
|
||||
%106 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %104, i32 0, i32 1
|
||||
store i64 1, ptr %106, align 4
|
||||
%107 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %104, i32 0, i32 2
|
||||
store i64 1, ptr %107, align 4
|
||||
%108 = load %"github.com/goplus/llgo/internal/runtime.Slice", ptr %104, align 8
|
||||
%109 = call ptr @"github.com/goplus/llgo/internal/runtime.Func"(%"github.com/goplus/llgo/internal/runtime.Slice" %101, %"github.com/goplus/llgo/internal/runtime.Slice" %108, i1 false)
|
||||
store ptr %109, ptr @"_llgo_func$NfGSLZ1QiKRoFkKeqYSXE5hUU5bpeteSJKrbMNUzYRE", align 8
|
||||
br label %_llgo_10
|
||||
|
||||
_llgo_10: ; preds = %_llgo_9, %_llgo_8
|
||||
%113 = load ptr, ptr @"_llgo_func$NfGSLZ1QiKRoFkKeqYSXE5hUU5bpeteSJKrbMNUzYRE", align 8
|
||||
%114 = alloca %"github.com/goplus/llgo/internal/abi.Method", align 8
|
||||
%115 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Method", ptr %114, i32 0, i32 0
|
||||
store %"github.com/goplus/llgo/internal/runtime.String" %41, ptr %115, align 8
|
||||
%116 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Method", ptr %114, i32 0, i32 1
|
||||
store ptr %113, ptr %116, align 8
|
||||
%117 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Method", ptr %114, i32 0, i32 2
|
||||
store ptr @"github.com/goplus/llgo/cl/internal/foo.(*Foo).Pb", ptr %117, align 8
|
||||
%118 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Method", ptr %114, i32 0, i32 3
|
||||
store ptr @"github.com/goplus/llgo/cl/internal/foo.(*Foo).Pb", ptr %118, align 8
|
||||
%119 = load %"github.com/goplus/llgo/internal/abi.Method", ptr %114, align 8
|
||||
%120 = alloca %"github.com/goplus/llgo/internal/abi.Method", align 8
|
||||
%121 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Method", ptr %120, i32 0, i32 0
|
||||
store %"github.com/goplus/llgo/internal/runtime.String" %41, ptr %121, align 8
|
||||
%122 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Method", ptr %120, i32 0, i32 1
|
||||
store ptr %113, ptr %122, align 8
|
||||
%123 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Method", ptr %120, i32 0, i32 2
|
||||
store ptr @"github.com/goplus/llgo/cl/internal/foo.(*Foo).Pb", ptr %123, align 8
|
||||
%124 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Method", ptr %120, i32 0, i32 3
|
||||
store ptr @"github.com/goplus/llgo/cl/internal/foo.Foo.Pb", ptr %124, align 8
|
||||
%125 = load %"github.com/goplus/llgo/internal/abi.Method", ptr %120, align 8
|
||||
%126 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 40)
|
||||
%127 = getelementptr %"github.com/goplus/llgo/internal/abi.Method", ptr %126, i64 0
|
||||
store %"github.com/goplus/llgo/internal/abi.Method" %125, ptr %127, align 8
|
||||
%128 = alloca %"github.com/goplus/llgo/internal/runtime.Slice", align 8
|
||||
%129 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %128, i32 0, i32 0
|
||||
store ptr %126, ptr %129, align 8
|
||||
%130 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %128, i32 0, i32 1
|
||||
store i64 1, ptr %130, align 4
|
||||
%131 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %128, i32 0, i32 2
|
||||
store i64 1, ptr %131, align 4
|
||||
%132 = load %"github.com/goplus/llgo/internal/runtime.Slice", ptr %128, align 8
|
||||
%133 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 40)
|
||||
%134 = getelementptr %"github.com/goplus/llgo/internal/abi.Method", ptr %133, i64 0
|
||||
store %"github.com/goplus/llgo/internal/abi.Method" %119, ptr %134, align 8
|
||||
%135 = alloca %"github.com/goplus/llgo/internal/runtime.Slice", align 8
|
||||
%136 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %135, i32 0, i32 0
|
||||
store ptr %133, ptr %136, align 8
|
||||
%137 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %135, i32 0, i32 1
|
||||
store i64 1, ptr %137, align 4
|
||||
%138 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %135, i32 0, i32 2
|
||||
store i64 1, ptr %138, align 4
|
||||
%139 = load %"github.com/goplus/llgo/internal/runtime.Slice", ptr %135, align 8
|
||||
%140 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%141 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %140, i32 0, i32 0
|
||||
store ptr @4, ptr %141, align 8
|
||||
%142 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %140, i32 0, i32 1
|
||||
store i64 38, ptr %142, align 4
|
||||
%143 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %140, align 8
|
||||
%144 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%145 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %144, i32 0, i32 0
|
||||
store ptr @5, ptr %145, align 8
|
||||
%146 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %144, i32 0, i32 1
|
||||
store i64 3, ptr %146, align 4
|
||||
%147 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %144, align 8
|
||||
call void @"github.com/goplus/llgo/internal/runtime.InitNamed"(ptr %2, %"github.com/goplus/llgo/internal/runtime.String" %143, %"github.com/goplus/llgo/internal/runtime.String" %147, ptr %37, %"github.com/goplus/llgo/internal/runtime.Slice" %132, %"github.com/goplus/llgo/internal/runtime.Slice" %139)
|
||||
%110 = load ptr, ptr @"_llgo_func$NfGSLZ1QiKRoFkKeqYSXE5hUU5bpeteSJKrbMNUzYRE", align 8
|
||||
%111 = alloca %"github.com/goplus/llgo/internal/abi.Method", align 8
|
||||
%112 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Method", ptr %111, i32 0, i32 0
|
||||
store %"github.com/goplus/llgo/internal/runtime.String" %41, ptr %112, align 8
|
||||
%113 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Method", ptr %111, i32 0, i32 1
|
||||
store ptr %110, ptr %113, align 8
|
||||
%114 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Method", ptr %111, i32 0, i32 2
|
||||
store ptr @"github.com/goplus/llgo/cl/internal/foo.(*Foo).Pb", ptr %114, align 8
|
||||
%115 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Method", ptr %111, i32 0, i32 3
|
||||
store ptr @"github.com/goplus/llgo/cl/internal/foo.(*Foo).Pb", ptr %115, align 8
|
||||
%116 = load %"github.com/goplus/llgo/internal/abi.Method", ptr %111, align 8
|
||||
%117 = alloca %"github.com/goplus/llgo/internal/abi.Method", align 8
|
||||
%118 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Method", ptr %117, i32 0, i32 0
|
||||
store %"github.com/goplus/llgo/internal/runtime.String" %41, ptr %118, align 8
|
||||
%119 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Method", ptr %117, i32 0, i32 1
|
||||
store ptr %110, ptr %119, align 8
|
||||
%120 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Method", ptr %117, i32 0, i32 2
|
||||
store ptr @"github.com/goplus/llgo/cl/internal/foo.(*Foo).Pb", ptr %120, align 8
|
||||
%121 = getelementptr inbounds %"github.com/goplus/llgo/internal/abi.Method", ptr %117, i32 0, i32 3
|
||||
store ptr @"github.com/goplus/llgo/cl/internal/foo.Foo.Pb", ptr %121, align 8
|
||||
%122 = load %"github.com/goplus/llgo/internal/abi.Method", ptr %117, align 8
|
||||
%123 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 40)
|
||||
%124 = getelementptr %"github.com/goplus/llgo/internal/abi.Method", ptr %123, i64 0
|
||||
store %"github.com/goplus/llgo/internal/abi.Method" %122, ptr %124, align 8
|
||||
%125 = alloca %"github.com/goplus/llgo/internal/runtime.Slice", align 8
|
||||
%126 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %125, i32 0, i32 0
|
||||
store ptr %123, ptr %126, align 8
|
||||
%127 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %125, i32 0, i32 1
|
||||
store i64 1, ptr %127, align 4
|
||||
%128 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %125, i32 0, i32 2
|
||||
store i64 1, ptr %128, align 4
|
||||
%129 = load %"github.com/goplus/llgo/internal/runtime.Slice", ptr %125, align 8
|
||||
%130 = call ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64 40)
|
||||
%131 = getelementptr %"github.com/goplus/llgo/internal/abi.Method", ptr %130, i64 0
|
||||
store %"github.com/goplus/llgo/internal/abi.Method" %116, ptr %131, align 8
|
||||
%132 = alloca %"github.com/goplus/llgo/internal/runtime.Slice", align 8
|
||||
%133 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %132, i32 0, i32 0
|
||||
store ptr %130, ptr %133, align 8
|
||||
%134 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %132, i32 0, i32 1
|
||||
store i64 1, ptr %134, align 4
|
||||
%135 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.Slice", ptr %132, i32 0, i32 2
|
||||
store i64 1, ptr %135, align 4
|
||||
%136 = load %"github.com/goplus/llgo/internal/runtime.Slice", ptr %132, align 8
|
||||
%137 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%138 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %137, i32 0, i32 0
|
||||
store ptr @4, ptr %138, align 8
|
||||
%139 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %137, i32 0, i32 1
|
||||
store i64 38, ptr %139, align 4
|
||||
%140 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %137, align 8
|
||||
%141 = alloca %"github.com/goplus/llgo/internal/runtime.String", align 8
|
||||
%142 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %141, i32 0, i32 0
|
||||
store ptr @5, ptr %142, align 8
|
||||
%143 = getelementptr inbounds %"github.com/goplus/llgo/internal/runtime.String", ptr %141, i32 0, i32 1
|
||||
store i64 3, ptr %143, align 4
|
||||
%144 = load %"github.com/goplus/llgo/internal/runtime.String", ptr %141, align 8
|
||||
call void @"github.com/goplus/llgo/internal/runtime.InitNamed"(ptr %2, %"github.com/goplus/llgo/internal/runtime.String" %140, %"github.com/goplus/llgo/internal/runtime.String" %144, ptr %37, %"github.com/goplus/llgo/internal/runtime.Slice" %129, %"github.com/goplus/llgo/internal/runtime.Slice" %136)
|
||||
br label %_llgo_4
|
||||
}
|
||||
|
||||
@@ -450,8 +443,6 @@ declare ptr @"github.com/goplus/llgo/internal/runtime.AllocU"(i64)
|
||||
|
||||
declare void @"github.com/goplus/llgo/internal/runtime.InitNamed"(ptr, %"github.com/goplus/llgo/internal/runtime.String", %"github.com/goplus/llgo/internal/runtime.String", ptr, %"github.com/goplus/llgo/internal/runtime.Slice", %"github.com/goplus/llgo/internal/runtime.Slice")
|
||||
|
||||
declare void @"github.com/goplus/llgo/internal/runtime.SetDirectIface"(ptr)
|
||||
|
||||
declare ptr @"github.com/goplus/llgo/internal/runtime.Func"(%"github.com/goplus/llgo/internal/runtime.Slice", %"github.com/goplus/llgo/internal/runtime.Slice", i1)
|
||||
|
||||
declare ptr @"github.com/goplus/llgo/cl/internal/foo.(*Foo).Pb"(ptr)
|
||||
|
||||
Reference in New Issue
Block a user