aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Jansson <johan.jansson@iki.fi>2019-12-04 22:39:44 +0200
committerAustin Clements <austin@google.com>2019-12-05 04:58:28 +0000
commitcdf3db5df6bdb68f696fb15cc657207efcf778ef (patch)
treee9b3cfd1c1e69f383cf397bf8c229dbd8dc6b342
parent7bdef2dfa4fe7d4d424d5601973b07d42ffc869b (diff)
downloadgo-cdf3db5df6bdb68f696fb15cc657207efcf778ef.tar.xz
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 <austin@google.com>
-rw-r--r--src/runtime/mgcmark.go2
1 files changed, 0 insertions, 2 deletions
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