cl: call intf.method

This commit is contained in:
xushiwei
2024-05-27 11:18:43 +08:00
parent df13e3ab82
commit 877b397e04
5 changed files with 219 additions and 6 deletions

View File

@@ -115,7 +115,7 @@ _llgo_0:
_llgo_1: ; preds = %_llgo_0
%2 = call ptr @"github.com/goplus/llgo/internal/runtime.Basic"(i64 3)
%3 = call ptr @"github.com/goplus/llgo/internal/runtime.Pointer"(ptr %2)
%3 = call ptr @"github.com/goplus/llgo/internal/runtime.PointerTo"(ptr %2)
store ptr %3, ptr @"*_llgo_int8", align 8
br label %_llgo_2
@@ -123,4 +123,4 @@ _llgo_2: ; preds = %_llgo_1, %_llgo_0
ret void
}
declare ptr @"github.com/goplus/llgo/internal/runtime.Pointer"(ptr)
declare ptr @"github.com/goplus/llgo/internal/runtime.PointerTo"(ptr)