Merge remote-tracking branch 'gop/main' into q

This commit is contained in:
xushiwei
2024-04-30 08:27:57 +08:00
5 changed files with 46 additions and 3 deletions

View File

@@ -212,7 +212,7 @@ func (p Program) tyInt64() llvm.Type {
}
func (p Program) toLLVMType(typ types.Type) Type {
switch t := types.Default(typ).(type) {
switch t := typ.(type) {
case *types.Basic:
switch t.Kind() {
case types.Int: