]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: always include underlying type for map types
authorKeith Randall <khr@golang.org>
Sun, 23 May 2021 04:59:00 +0000 (21:59 -0700)
committerKeith Randall <khr@golang.org>
Mon, 24 May 2021 17:43:50 +0000 (17:43 +0000)
commita22e3172200d4bdd0afcbbe6564dbb67fea4b03a
treef01dd9e10b280efcd72a70653c118d47e142998e
parent4356e7e85fcd8f59de6bc1fd1db6e4f01a92f19e
cmd/compile: always include underlying type for map types

This is a different fix for #37716.

Should help make the fix for #46283 easier, since we will no longer
need to keep compiler-generated hash functions and the runtime
hash function in sync.

Change-Id: I84cb93144e425dcd03afc552b5fbd0f2d2cc6d39
Reviewed-on: https://go-review.googlesource.com/c/go/+/322150
Trust: Keith Randall <khr@golang.org>
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
src/cmd/compile/internal/reflectdata/reflect.go
src/cmd/internal/objabi/reloctype.go
src/cmd/internal/objabi/reloctype_string.go
src/runtime/alg.go
src/runtime/export_test.go
src/runtime/hash_test.go