1
0
mirror of https://github.com/golang/go synced 2024-11-23 08:10:03 -07:00

[dev.garbage] runtime: fix 32-bit build

TBR=crawshaw
R=crawshaw
CC=golang-codereviews
https://golang.org/cl/168860046
This commit is contained in:
Russ Cox 2014-11-05 11:09:08 -05:00
parent 77db737ac3
commit e1f7c3f82f

View File

@ -84,8 +84,8 @@ func bgsweep() {
}
const (
_PoisonGC = 0xf969696969696969 & ^uintptr(0)
_PoisonStack = 0x6868686868686868 & ^uintptr(0)
_PoisonGC = 0xf969696969696969 & (1<<(8*ptrSize) - 1)
_PoisonStack = 0x6868686868686868 & (1<<(8*ptrSize) - 1)
)
// NOTE: Really dst *unsafe.Pointer, src unsafe.Pointer,