diff options
| author | Matthew Dempsky <mdempsky@google.com> | 2022-03-17 19:50:47 -0700 |
|---|---|---|
| committer | Matthew Dempsky <mdempsky@google.com> | 2022-05-16 23:55:03 +0000 |
| commit | a900a176bf946ac220336c7c5dad107745fc9c41 (patch) | |
| tree | 7c941e2ceaf381ecea39b823409600470d50846b /src/cmd/vendor/github.com/google/pprof | |
| parent | d81dd1290665aea2de8d4d5284be26ea0bfe4cd2 (diff) | |
| download | go-a900a176bf946ac220336c7c5dad107745fc9c41.tar.xz | |
cmd/compile/internal/types: use Type.LinkString in TypeHash
Now that Type.LinkString always returns a fully unique string ID, we
can use it in TypeHash to avoid collisions between instantiations of
the same generic type.
Updates #51734.
Change-Id: I38cb396c88259be7afa44bd4333124ca98666c3f
Reviewed-on: https://go-review.googlesource.com/c/go/+/393716
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
Diffstat (limited to 'src/cmd/vendor/github.com/google/pprof')
0 files changed, 0 insertions, 0 deletions
