aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/print.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/print.go')
-rw-r--r--src/runtime/print.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/print.go b/src/runtime/print.go
index f15296cf02..59a91203b9 100644
--- a/src/runtime/print.go
+++ b/src/runtime/print.go
@@ -5,8 +5,8 @@
package runtime
import (
+ "internal/goarch"
"runtime/internal/atomic"
- "runtime/internal/sys"
"unsafe"
)
@@ -271,7 +271,7 @@ func hexdumpWords(p, end uintptr, mark func(uintptr) byte) {
var markbuf [1]byte
markbuf[0] = ' '
minhexdigits = int(unsafe.Sizeof(uintptr(0)) * 2)
- for i := uintptr(0); p+i < end; i += sys.PtrSize {
+ for i := uintptr(0); p+i < end; i += goarch.PtrSize {
if i%16 == 0 {
if i != 0 {
println()