aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/malloc.go
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2016-10-04 15:56:19 -0400
committerAustin Clements <austin@google.com>2016-10-25 22:32:45 +0000
commit66e849b168eef36a4159a4b038fe89eecd2f22e3 (patch)
treee5e4cdac04ab330e70ee70a3231f320e4f13f09a /src/runtime/malloc.go
parent4d6207790b2f08daa00d2a7a67854a159ab2f601 (diff)
downloadgo-66e849b168eef36a4159a4b038fe89eecd2f22e3.tar.xz
runtime: eliminate mheap.nspan and use range loops
This was necessary in the C days when allspans was an mspan**, but now that allspans is a Go slice, this is redundant with len(allspans) and we can use range loops over allspans. Change-Id: Ie1dc39611e574e29a896e01690582933f4c5be7e Reviewed-on: https://go-review.googlesource.com/30531 Run-TryBot: Austin Clements <austin@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rick Hudson <rlh@golang.org>
Diffstat (limited to 'src/runtime/malloc.go')
0 files changed, 0 insertions, 0 deletions