Commit a3b9797b authored by Russ Cox's avatar Russ Cox

runtime: gofmt

Change-Id: I539bdc438f694610a7cd373f7e1451171737cfb3
Reviewed-on: https://go-review.googlesource.com/11084Reviewed-by: 's avatarRuss Cox <rsc@golang.org>
parent d5b40b6a
......@@ -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
}
......
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