aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/plugin.go
diff options
context:
space:
mode:
authorCherry Zhang <cherryyz@google.com>2021-04-13 18:01:59 -0400
committerCherry Zhang <cherryyz@google.com>2021-04-13 22:55:30 +0000
commit8c2a8b1771cd7ed2182f4d03b3c4bd09828315ce (patch)
tree242ab6531475403deb1f94aba68b7bfccd824714 /src/runtime/plugin.go
parentb4881d930a653ffc72cfcdff2902a627ba3a205c (diff)
downloadgo-8c2a8b1771cd7ed2182f4d03b3c4bd09828315ce.tar.xz
cmd/compile: always zero the temporary in mapKeyTemp
As we are taking its address, always zero it. In many cases the temporary will be optimized out. But in case it does not (e.g. -N, -race), this ensures it has the right liveness information. May fix the noopt builder. Change-Id: I3d5d617c276d2a1a1aaebff813b4cd60bc691592 Reviewed-on: https://go-review.googlesource.com/c/go/+/309771 Trust: Cherry Zhang <cherryyz@google.com> Run-TryBot: Cherry Zhang <cherryyz@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Than McIntosh <thanm@google.com>
Diffstat (limited to 'src/runtime/plugin.go')
0 files changed, 0 insertions, 0 deletions