From: Johan Jansson Date: Wed, 4 Dec 2019 20:39:44 +0000 (+0200) Subject: runtime: remove comment about gcCopySpans() X-Git-Tag: go1.14beta1~66 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=cdf3db5df6bdb68f696fb15cc657207efcf778ef;p=gostls13.git runtime: remove comment about gcCopySpans() 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 --- diff --git a/src/runtime/mgcmark.go b/src/runtime/mgcmark.go index e02c874f66..54f988a902 100644 --- a/src/runtime/mgcmark.go +++ b/src/runtime/mgcmark.go @@ -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