]> Cypherpunks repositories - gostls13.git/commit
runtime: eliminate some unnecessary uintptr conversions
authorMatthew Dempsky <mdempsky@google.com>
Tue, 27 Oct 2015 00:53:22 +0000 (17:53 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Tue, 27 Oct 2015 02:53:04 +0000 (02:53 +0000)
commit4ff231bca1f9602e810b95cb75d7997329009e31
tree59a5c665afe1c635d2e2e425af94b701e529cc8a
parent53d43cb5565ec4ba77180d8cd53701e3d75c490b
runtime: eliminate some unnecessary uintptr conversions

arena_{start,used,end} are already uintptr, so no need to convert them
to uintptr, much less to convert them to unsafe.Pointer and then to
uintptr.  No binary change to pkg/linux_amd64/runtime.a.

Change-Id: Ia4232ed2a724c44fde7eba403c5fe8e6dccaa879
Reviewed-on: https://go-review.googlesource.com/16339
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
src/runtime/malloc.go
src/runtime/mfinal.go
src/runtime/mheap.go