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>
This commit is contained in:
Russ Cox 2015-05-04 21:43:30 -04:00
parent 92715d7780
commit ceefebd795
3 changed files with 13 additions and 13 deletions

View file

@ -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