1
0
mirror of https://github.com/golang/go synced 2024-11-12 01:50:22 -07:00

[dev.typeparams] runtime/internal/sys: remove unused PtrSize

Change-Id: I01e079b95f71b01edaf049d49a0993a7ed39c7bf
Reviewed-on: https://go-review.googlesource.com/c/go/+/328810
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:16:05 +00:00 committed by Michael Knyszek
parent 6d85891b29
commit 6d89c90fb1

View File

@ -24,10 +24,6 @@ const (
WASM = goarch.WASM
)
// PtrSize is the size of a pointer in bytes - unsafe.Sizeof(uintptr(0)) but as an ideal constant.
// It is also the size of the machine's native word size (that is, 4 on 32-bit systems, 8 on 64-bit).
const PtrSize = goarch.PtrSize
// ArchFamily is the architecture family (AMD64, ARM, ...)
const ArchFamily ArchFamilyType = goarch.ArchFamily