llgo/ssa: Alloc, BinOp(vkPtr)

This commit is contained in:
xushiwei
2024-04-28 07:08:01 +08:00
parent 475f0fa2ff
commit 5415f68c1b
4 changed files with 32 additions and 12 deletions

View File

@@ -17,15 +17,15 @@
package runtime
import (
"go/types"
"unsafe"
"github.com/goplus/llgo/internal/abi"
)
type Kind = abi.Kind
type Type = abi.Type
func Basic(kind types.BasicKind) *Type {
func Basic(kind Kind) *Type {
return basicTypes[kind]
}