diff options
| author | Austin Clements <austin@google.com> | 2016-10-04 15:56:19 -0400 |
|---|---|---|
| committer | Austin Clements <austin@google.com> | 2016-10-25 22:32:45 +0000 |
| commit | 66e849b168eef36a4159a4b038fe89eecd2f22e3 (patch) | |
| tree | e5e4cdac04ab330e70ee70a3231f320e4f13f09a /src/runtime/malloc.go | |
| parent | 4d6207790b2f08daa00d2a7a67854a159ab2f601 (diff) | |
| download | go-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
