aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/runtime/mgcsweep.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/runtime/mgcsweep.go')
-rw-r--r--libgo/go/runtime/mgcsweep.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/libgo/go/runtime/mgcsweep.go b/libgo/go/runtime/mgcsweep.go
index 539a982..c1c6e65 100644
--- a/libgo/go/runtime/mgcsweep.go
+++ b/libgo/go/runtime/mgcsweep.go
@@ -205,7 +205,6 @@ func (s *mspan) ensureSwept() {
// Returns true if the span was returned to heap.
// If preserve=true, don't return it to heap nor relink in mcentral lists;
// caller takes care of it.
-//TODO go:nowritebarrier
func (s *mspan) sweep(preserve bool) bool {
// It's critical that we enter this function with preemption disabled,
// GC must not start while we are in the middle of this function.