Revert "runtime: map; llgo/ssa: MapUpdate"

This commit is contained in:
xushiwei
2024-06-14 22:50:23 +08:00
committed by GitHub
parent 78b8455bba
commit 5e45e38481
26 changed files with 149 additions and 3623 deletions

View File

@@ -159,10 +159,6 @@ func (b *Builder) TypeName(t types.Type) (ret string, pub bool) {
return "_llgo_any", true
}
return b.InterfaceName(t)
case *types.Map:
key, pub1 := b.TypeName(t.Key())
elem, pub2 := b.TypeName(t.Elem())
return fmt.Sprintf("map[%s]%s", key, elem), pub1 && pub2
}
log.Panicf("todo: %T\n", t)
return