mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/compile: typo
Change-Id: I8ae86200675dcad0f1d4c9924459d8196da9740f Reviewed-on: https://go-review.googlesource.com/c/go/+/501755 Reviewed-by: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Cherry Mui <cherryyz@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Run-TryBot: xie cui <523516579@qq.com> Run-TryBot: Ian Lance Taylor <iant@google.com>
This commit is contained in:
parent
fd13444b2b
commit
1bbf55c2bb
1 changed files with 2 additions and 2 deletions
|
|
@ -158,10 +158,10 @@ func MapBucketType(t *types.Type) *types.Type {
|
||||||
base.Fatalf("elem align %d too big for %v, BUCKETSIZE=%d", elemtype.Alignment(), t, BUCKETSIZE)
|
base.Fatalf("elem align %d too big for %v, BUCKETSIZE=%d", elemtype.Alignment(), t, BUCKETSIZE)
|
||||||
}
|
}
|
||||||
if keytype.Size() > MAXKEYSIZE {
|
if keytype.Size() > MAXKEYSIZE {
|
||||||
base.Fatalf("key size to large for %v", t)
|
base.Fatalf("key size too large for %v", t)
|
||||||
}
|
}
|
||||||
if elemtype.Size() > MAXELEMSIZE {
|
if elemtype.Size() > MAXELEMSIZE {
|
||||||
base.Fatalf("elem size to large for %v", t)
|
base.Fatalf("elem size too large for %v", t)
|
||||||
}
|
}
|
||||||
if t.Key().Size() > MAXKEYSIZE && !keytype.IsPtr() {
|
if t.Key().Size() > MAXKEYSIZE && !keytype.IsPtr() {
|
||||||
base.Fatalf("key indirect incorrect for %v", t)
|
base.Fatalf("key indirect incorrect for %v", t)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue