[dev.typeparams] reflect: delete unused ptrSize and PtrSize

Change-Id: I522263eb5112b78639340b83d92e80a13f738bd4
Reviewed-on: https://go-review.googlesource.com/c/go/+/328811
Trust: Michael Knyszek <mknyszek@google.com>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
This commit is contained in:
Michael Anthony Knyszek 2021-06-16 23:26:39 +00:00 committed by Michael Knyszek
parent 95c104ee61
commit bfd9b63f12
2 changed files with 0 additions and 4 deletions

View file

@ -23,8 +23,6 @@ func IsRO(v Value) bool {
var CallGC = &callGC
const PtrSize = goarch.PtrSize
// FuncLayout calls funcLayout and returns a subset of the results for testing.
//
// Bitmaps like stack, gc, inReg, and outReg are expanded such that each bit

View file

@ -14,8 +14,6 @@ import (
"unsafe"
)
const ptrSize = 4 << (^uintptr(0) >> 63) // unsafe.Sizeof(uintptr(0)) but an ideal const
// Value is the reflection interface to a Go value.
//
// Not all methods apply to all kinds of values. Restrictions,