]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: print pointers to go:notinheap types without converting to unsafe.Pointer
authorKeith Randall <khr@golang.org>
Tue, 27 Oct 2020 21:15:00 +0000 (14:15 -0700)
committerKeith Randall <khr@golang.org>
Tue, 27 Oct 2020 22:13:30 +0000 (22:13 +0000)
commit091257def92b0280b07bde9536b7cdf5f3b02aec
treeecec5565c36c24ca62600c7aa5a7fa59caf689f4
parent009d71409821a6ac4f1b32aaae2c856c20a29f92
cmd/compile: print pointers to go:notinheap types without converting to unsafe.Pointer

Pretty minor concern, but after auditing the compiler/runtime for
conversions from pointers to go:notinheap types to unsafe.Pointer,
this is the only remaining one I found.

Update #42076

Change-Id: I81d5b893c9ada2fc19a51c2559262f2e9ff71c35
Reviewed-on: https://go-review.googlesource.com/c/go/+/265757
Trust: Keith Randall <khr@golang.org>
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/cmd/compile/internal/gc/builtin.go
src/cmd/compile/internal/gc/builtin/runtime.go
src/cmd/compile/internal/gc/walk.go
src/runtime/print.go