]> Cypherpunks.ru repositories - gostls13.git/commit
runtime: use spanOf* more widely
authorAustin Clements <austin@google.com>
Mon, 4 Dec 2017 16:02:59 +0000 (11:02 -0500)
committerAustin Clements <austin@google.com>
Thu, 15 Feb 2018 21:12:15 +0000 (21:12 +0000)
commit4de468621a54bc7816ae978a55cb347b6f60352d
tree87b121346fbfe3e0c243f5566f2c90f34a2de820
parenta90f9a00ca34251dcee80eacff241871c43ac18f
runtime: use spanOf* more widely

The logic in the spanOf* functions is open-coded in a lot of places
right now. Replace these with calls to the spanOf* functions.

Change-Id: I3cc996aceb9a529b60fea7ec6fef22008c012978
Reviewed-on: https://go-review.googlesource.com/85880
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rick Hudson <rlh@golang.org>
src/runtime/cgocheck.go
src/runtime/mbitmap.go
src/runtime/mgcmark.go
src/runtime/mheap.go