]> Cypherpunks repositories - gostls13.git/commit
runtime: make gcDrainN take an int instead of uintptr
authorAustin Clements <austin@google.com>
Wed, 18 Feb 2015 21:40:31 +0000 (16:40 -0500)
committerAustin Clements <austin@google.com>
Thu, 19 Feb 2015 02:47:45 +0000 (02:47 +0000)
commit1ae124b5ff38045008402b51017c8303eef2cda1
tree88e86f92698d15379001b86a40eea3381f6e6146
parent95ab84a34f67742b59227e6c7b45d287071d87b0
runtime: make gcDrainN take an int instead of uintptr

Nit.  There's no reason to take a uintptr and doing so just requires
casts in annoying places.

Change-Id: Ifeb9638c6d94eae619c490930cf724cc315680ba
Reviewed-on: https://go-review.googlesource.com/5230
Reviewed-by: Russ Cox <rsc@golang.org>
src/runtime/mgc.go