runtime: test and fix heap bitmap for 1-pointer allocation on 32-bit system

Change-Id: Ic064fe7c6bd3304dcc8c3f7b3b5393870b5387c2
Reviewed-on: https://go-review.googlesource.com/10119
Run-TryBot: Austin Clements <austin@google.com>
Reviewed-by: Austin Clements <austin@google.com>
This commit is contained in:
Russ Cox 2015-05-15 14:23:23 -04:00
parent 8fa14ea8b4
commit c3c047a6a3
3 changed files with 48 additions and 11 deletions

View file

@ -150,3 +150,5 @@ func BenchSetType(n int, x interface{}) {
}
})
}
const PtrSize = ptrSize