aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2016-05-11 16:29:07 -0400
committerAustin Clements <austin@google.com>2016-05-16 18:28:35 +0000
commit30ded16596246c719ede90acf45ecb31d8f428f6 (patch)
treefdc9d34a0efe51af1677bc962d862e23d8fd634e /src
parentb66b97e0a120880e37b03eba00c0c7679f0a70c1 (diff)
downloadgo-30ded16596246c719ede90acf45ecb31d8f428f6.tar.xz
runtime: remove obsolete comment from scanobject
Change-Id: I5ebf93b60213c0138754fc20888ae5ce60237b8c Reviewed-on: https://go-review.googlesource.com/23131 Reviewed-by: Rick Hudson <rlh@golang.org>
Diffstat (limited to 'src')
-rw-r--r--src/runtime/mgcmark.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/mgcmark.go b/src/runtime/mgcmark.go
index af3205ab23..5d947fb59e 100644
--- a/src/runtime/mgcmark.go
+++ b/src/runtime/mgcmark.go
@@ -1096,7 +1096,7 @@ func scanblock(b0, n0 uintptr, ptrmask *uint8, gcw *gcWork) {
// scanobject scans the object starting at b, adding pointers to gcw.
// b must point to the beginning of a heap object; scanobject consults
// the GC bitmap for the pointer mask and the spans for the size of the
-// object (it ignores n).
+// object.
//go:nowritebarrier
func scanobject(b uintptr, gcw *gcWork) {
// Note that arena_used may change concurrently during