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,7 +25,9 @@ import (
// -----------------------------------------------------------------------------
// Slice is the runtime representation of a slice.
type Slice struct {
type Slice = slice
type slice struct {
data unsafe.Pointer
len int
cap int