TestFuncCall

This commit is contained in:
xushiwei
2024-04-19 00:05:57 +08:00
parent a966e02273
commit c784a2e63b
7 changed files with 188 additions and 58 deletions

View File

@@ -16,17 +16,7 @@
package ssa
import (
"github.com/goplus/llvm"
)
func init() {
llvm.InitializeAllTargetInfos()
llvm.InitializeAllTargets()
llvm.InitializeAllTargetMCs()
llvm.InitializeAllAsmParsers()
llvm.InitializeAllAsmPrinters()
}
// -----------------------------------------------------------------------------
type Target struct {
GOOS string
@@ -150,3 +140,5 @@ func (p *Target) toSpec() (spec targetSpec) {
return
}
*/
// -----------------------------------------------------------------------------