]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: fix out of date comment
authorAustin Clements <austin@google.com>
Thu, 12 Mar 2015 15:20:02 +0000 (11:20 -0400)
committerAustin Clements <austin@google.com>
Tue, 17 Mar 2015 01:46:20 +0000 (01:46 +0000)
scanobject no longer returns the new wbuf.

Change-Id: I0da335ae5cd7ef7ea0e0fa965cf0e9f3a650d0e6
Reviewed-on: https://go-review.googlesource.com/7505
Reviewed-by: Rick Hudson <rlh@golang.org>
src/runtime/mgcmark.go

index ec189ef3566f2aa18f1b0c7b081876a6a34b7325..5d3a9efbb3d7b7bee53804a5892101eec38031be 100644 (file)
@@ -408,7 +408,6 @@ func scanblock(b0, n0 uintptr, ptrmask *uint8, gcw *gcWorkProducer) {
 }
 
 // Scan the object b of size n bytes, adding pointers to wbuf.
-// Return possibly new wbuf to use.
 // If ptrmask != nil, it specifies where pointers are in b.
 // If ptrmask == nil, the GC bitmap should be consulted.
 // In this case, n may be an overestimate of the size; the GC bitmap