runtime: gofmt

Change-Id: I539bdc438f694610a7cd373f7e1451171737cfb3
Reviewed-on: https://go-review.googlesource.com/11084
Reviewed-by: Russ Cox <rsc@golang.org>
This commit is contained in:
Russ Cox 2015-06-15 13:35:56 -04:00
parent d5b40b6ac2
commit a3b9797baa
1 changed files with 2 additions and 2 deletions

View File

@ -420,7 +420,7 @@ func mHeap_SysAlloc(h *mheap, n uintptr) unsafe.Pointer {
sysMap((unsafe.Pointer)(p), n, h.arena_reserved, &memstats.heap_sys)
mHeap_MapBits(h, p+n)
mHeap_MapSpans(h, p+n)
h.arena_used = p+n
h.arena_used = p + n
if raceenabled {
racemapshadow((unsafe.Pointer)(p), n)
}
@ -456,7 +456,7 @@ func mHeap_SysAlloc(h *mheap, n uintptr) unsafe.Pointer {
if uintptr(p)+n > uintptr(h.arena_used) {
mHeap_MapBits(h, p+n)
mHeap_MapSpans(h, p+n)
h.arena_used = p+n
h.arena_used = p + n
if p_end > h.arena_end {
h.arena_end = p_end
}