]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: remove comment about gcCopySpans()
authorJohan Jansson <johan.jansson@iki.fi>
Wed, 4 Dec 2019 20:39:44 +0000 (22:39 +0200)
committerAustin Clements <austin@google.com>
Thu, 5 Dec 2019 04:58:28 +0000 (04:58 +0000)
Remove documentation reference to gcCopySpans(), as that function was
removed in https://golang.org/cl/30537

Fixes #35683

Change-Id: I7fb7c6cc60bfb3a133a019a20eb3f9d4c7627b31
Reviewed-on: https://go-review.googlesource.com/c/go/+/209917
Reviewed-by: Austin Clements <austin@google.com>
src/runtime/mgcmark.go

index e02c874f66ad9774c88ec2f3706855a4741cdef6..54f988a9023abd4a789d3161491ed2b7e5d9a394 100644 (file)
@@ -46,8 +46,6 @@ const (
 // gcMarkRootPrepare queues root scanning jobs (stacks, globals, and
 // some miscellany) and initializes scanning-related state.
 //
-// The caller must have call gcCopySpans().
-//
 // The world must be stopped.
 //
 //go:nowritebarrier