diff options
author | Matthew Dempsky <mdempsky@google.com> | 2020-12-01 13:38:26 -0800 |
---|---|---|
committer | Matthew Dempsky <mdempsky@google.com> | 2020-12-02 06:37:47 +0000 |
commit | 15085f89746762e0919fa257feac3eb5b996e6db (patch) | |
tree | d4d136cabeefbeb433a42b27228ca5b6c000af72 /src/cmd/compile/internal/types/type.go | |
parent | 1408d26ccca5f770e29785ddd442523416de2dd6 (diff) | |
download | go-15085f89746762e0919fa257feac3eb5b996e6db.tar.gz go-15085f89746762e0919fa257feac3eb5b996e6db.zip |
[dev.regabi] cmd/compile: tweak hash bucket type descriptor
There's no need for the bucket type to be precise. The compiler
doesn't actually generate code that references these fields; it just
needs it for size and GC bitmap calculations.
However, changing the type field does alter the runtime type
descriptor and relocations emitted by the compiler, so this change
isn't safe for toolstash.
Change-Id: Icf79d6c4326515889b13435a575d618e3bbfbcd7
Reviewed-on: https://go-review.googlesource.com/c/go/+/274712
Trust: Matthew Dempsky <mdempsky@google.com>
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/cmd/compile/internal/types/type.go')
0 files changed, 0 insertions, 0 deletions