mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
[dev.typeparams] runtime: replace uses of runtime/internal/sys.PtrSize with internal/goarch.PtrSize [generated]
[git-generate] cd src/runtime/internal/math gofmt -w -r "sys.PtrSize -> goarch.PtrSize" . goimports -w *.go cd ../.. gofmt -w -r "sys.PtrSize -> goarch.PtrSize" . goimports -w *.go Change-Id: I43491cdd54d2e06d4d04152b3d213851b7d6d423 Reviewed-on: https://go-review.googlesource.com/c/go/+/328337 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:
parent
122f5e16d6
commit
6d85891b29
63 changed files with 349 additions and 336 deletions
|
|
@ -9,6 +9,7 @@ package runtime
|
|||
import (
|
||||
"runtime/internal/atomic"
|
||||
"runtime/internal/sys"
|
||||
"internal/goarch"
|
||||
"unsafe"
|
||||
)
|
||||
|
||||
|
|
@ -245,7 +246,7 @@ func BenchSetType(n int, x interface{}) {
|
|||
})
|
||||
}
|
||||
|
||||
const PtrSize = sys.PtrSize
|
||||
const PtrSize = goarch.PtrSize
|
||||
|
||||
var ForceGCPeriod = &forcegcperiod
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue