From ceefebd7952e7a65ec1da82caf13c101debc369d Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Mon, 4 May 2015 21:43:30 -0400 Subject: 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 --- src/runtime/type.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/runtime') 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 -- cgit v1.3-5-g9baa