TestVar done

This commit is contained in:
xushiwei
2024-04-16 00:43:29 +08:00
parent b736f27275
commit 88cd652c43
3 changed files with 24 additions and 8 deletions

View File

@@ -17,8 +17,6 @@
package ssa
import (
"runtime"
"github.com/goplus/llvm"
)
@@ -36,6 +34,7 @@ type Target struct {
GOARM string // "5", "6", "7" (default)
}
/*
func (p *Program) targetMachine() llvm.TargetMachine {
if p.tm.C == nil {
spec := p.target.toSpec()
@@ -150,3 +149,4 @@ func (p *Target) toSpec() (spec targetSpec) {
}
return
}
*/