aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2015-05-04 21:43:30 -0400
committerRuss Cox <rsc@golang.org>2015-05-05 19:27:47 +0000
commitceefebd7952e7a65ec1da82caf13c101debc369d (patch)
tree9bf2855cfbf194b832d595890a48d118c8e04b00 /src/runtime
parent92715d7780e1a7801c2d35069bc8bd86426429c4 (diff)
downloadgo-ceefebd7952e7a65ec1da82caf13c101debc369d.tar.xz
runtime: rename ptrsize to ptrdata
I forgot there is already a ptrSize constant. Rename field to avoid some confusion. Change-Id: I098fdcc8afc947d6c02c41c6e6de24624cc1c8ff Reviewed-on: https://go-review.googlesource.com/9700 Reviewed-by: Austin Clements <austin@google.com>
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/type.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/type.go b/src/runtime/type.go
index 9d61c47dda..48df2a4382 100644
--- a/src/runtime/type.go
+++ b/src/runtime/type.go
@@ -13,7 +13,7 @@ import "unsafe"
// ../reflect/type.go:/^type.rtype.
type _type struct {
size uintptr
- ptrsize uintptr // Bytes of prefix containing pointer slots.
+ ptrdata uintptr // size of memory prefix holding all pointers
hash uint32
_unused uint8
align uint8