]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: rename (*Type).HasPointer to (*Type).HasHeapPointer
authorAustin Clements <austin@google.com>
Mon, 2 Oct 2017 21:31:43 +0000 (17:31 -0400)
committerAustin Clements <austin@google.com>
Tue, 3 Oct 2017 13:40:06 +0000 (13:40 +0000)
commit70258cc59f587749ec02d3645687efe2ee85f53f
tree12a3f57c85c55a3ba7dc0cdc3245115ad215b07a
parentf47c8f130e4f5642cda5ee98741c2de25fde8b7e
cmd/compile: rename (*Type).HasPointer to (*Type).HasHeapPointer

This method indicates whether a type contains any *heap* pointers, not
just whether it contains any pointers. Rename the method to make this
clear.

Change-Id: Ifff143e2f02a820444ac26b84250495c0098cb33
Reviewed-on: https://go-review.googlesource.com/67690
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/compile/internal/ssa/writebarrier.go
src/cmd/compile/internal/types/type.go