diff options
Diffstat (limited to 'src/internal/runtime/maps/map.go')
| -rw-r--r-- | src/internal/runtime/maps/map.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/internal/runtime/maps/map.go b/src/internal/runtime/maps/map.go index 86977bbc2d..969da13432 100644 --- a/src/internal/runtime/maps/map.go +++ b/src/internal/runtime/maps/map.go @@ -296,7 +296,7 @@ func NewMap(mt *abi.SwissMapType, hint uintptr, m *Map, maxAlloc uintptr) *Map { if overflow { return m // return an empty map. } else { - mem, overflow := math.MulUintptr(groups, mt.Group.Size_) + mem, overflow := math.MulUintptr(groups, mt.GroupSize) if overflow || mem > maxAlloc { return m // return an empty map. } |
