diff options
Diffstat (limited to 'src/cmd/internal/gc/reflect.go')
-rw-r--r-- | src/cmd/internal/gc/reflect.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/internal/gc/reflect.go b/src/cmd/internal/gc/reflect.go index ba9b75d4d5..ee080404b3 100644 --- a/src/cmd/internal/gc/reflect.go +++ b/src/cmd/internal/gc/reflect.go @@ -188,7 +188,7 @@ func mapbucket(t *Type) *Type { } // See comment on hmap.overflow in ../../runtime/hashmap.go. - if !haspointers(t.Type) && !haspointers(t.Down) { + if !haspointers(t.Type) && !haspointers(t.Down) && t.Type.Width <= MAXKEYSIZE && t.Down.Width <= MAXVALSIZE { bucket.Haspointers = 1 // no pointers } |