runtime: map; llgo/ssa: MapUpdate

This commit is contained in:
xushiwei
2024-06-14 21:57:34 +08:00
parent 7a54967bee
commit 47b20b01d0
12 changed files with 491 additions and 46 deletions

View File

@@ -25,6 +25,11 @@ import (
type _type = abi.Type
// isDirectIface reports whether t is stored directly in an interface value.
func isDirectIface(t *_type) bool {
return t.Kind_&abi.KindDirectIface != 0
}
type eface struct {
_type *_type
data unsafe.Pointer