This commit is contained in:
xushiwei
2024-04-17 00:01:42 +08:00
parent 70ec2350eb
commit 2596f1d5b2
4 changed files with 29 additions and 1 deletions

View File

@@ -16,6 +16,10 @@
package ssa
import (
"github.com/goplus/llvm"
)
// Function represents the parameters, results, and code of a function
// or method.
//
@@ -66,4 +70,5 @@ package ssa
// the generic method. TypeArgs() refers to [string,U] or [string,int],
// respectively, and is nil in the generic method.
type Function struct {
impl llvm.Value
}