closureStub: SetTailCall

This commit is contained in:
xushiwei
2024-05-06 16:40:52 +08:00
parent 1e075d4830
commit cffb5e9539
4 changed files with 4 additions and 3 deletions

View File

@@ -57,7 +57,7 @@ declare void @"github.com/goplus/llgo/internal/runtime.init"()
define linkonce void @__llgo_stub.main.print(ptr %0, ptr %1) {
_llgo_0:
call void @main.print(ptr %1)
tail call void @main.print(ptr %1)
ret void
}