mirror of
https://github.com/golang/go.git
synced 2025-05-07 08:32:59 +00:00
runtime: use .Pointers() instead of .PtrBytes != 0
Change-Id: I512808d3cf91466eb6f2c21b49b39ff2e08a9b8c Reviewed-on: https://go-review.googlesource.com/c/go/+/605498 Reviewed-by: Carlos Amedee <carlos@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Keith Randall <khr@golang.org> Auto-Submit: Keith Randall <khr@golang.org> Reviewed-by: Keith Randall <khr@google.com>
This commit is contained in:
parent
818515fd3e
commit
0320616db9
@ -205,7 +205,7 @@ func dumptype(t *_type) {
|
||||
dwritebyte('.')
|
||||
dwrite(unsafe.Pointer(unsafe.StringData(name)), uintptr(len(name)))
|
||||
}
|
||||
dumpbool(t.Kind_&abi.KindDirectIface == 0 || t.PtrBytes != 0)
|
||||
dumpbool(t.Kind_&abi.KindDirectIface == 0 || t.Pointers())
|
||||
}
|
||||
|
||||
// dump an object.
|
||||
|
Loading…
x
Reference in New Issue
Block a user