From 6ebbc92c4fa0067f0e108addfc7ed0491d4e70d3 Mon Sep 17 00:00:00 2001 From: xushiwei Date: Mon, 29 Apr 2024 09:53:48 +0800 Subject: [PATCH] runtime.ll --- internal/runtime/llgo_autogen.ll | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/runtime/llgo_autogen.ll b/internal/runtime/llgo_autogen.ll index dd0f3369..f5d5d5eb 100644 --- a/internal/runtime/llgo_autogen.ll +++ b/internal/runtime/llgo_autogen.ll @@ -172,8 +172,6 @@ _llgo_0: ret %"github.com/goplus/llgo/internal/runtime.iface" %12 } -declare ptr @malloc(i64) - define %"github.com/goplus/llgo/internal/runtime.Slice" @"github.com/goplus/llgo/internal/runtime.NilSlice"() { _llgo_0: %0 = alloca %"github.com/goplus/llgo/internal/runtime.Slice", align 8 @@ -267,4 +265,6 @@ _llgo_2: ; preds = %_llgo_1, %_llgo_0 ret void } +declare ptr @malloc(i64) + declare void @"github.com/goplus/llgo/internal/abi.init"()