Commit e1f7c3f8 authored by Russ Cox's avatar Russ Cox

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

TBR=crawshaw
R=crawshaw
CC=golang-codereviews
https://golang.org/cl/168860046
parent 77db737a
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment