aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/mheap.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/runtime/mheap.go b/src/runtime/mheap.go
index 9c691c6887..d17363261e 100644
--- a/src/runtime/mheap.go
+++ b/src/runtime/mheap.go
@@ -141,19 +141,19 @@ var mheap_ mheap
type mSpanState uint8
const (
- _MSpanInUse mSpanState = iota // allocated for garbage collected heap
- _MSpanStack // allocated for use by stack allocator
+ _MSpanDead mSpanState = iota
+ _MSpanInUse // allocated for garbage collected heap
+ _MSpanStack // allocated for use by stack allocator
_MSpanFree
- _MSpanDead
)
// mSpanStateNames are the names of the span states, indexed by
// mSpanState.
var mSpanStateNames = []string{
+ "_MSpanDead",
"_MSpanInUse",
"_MSpanStack",
"_MSpanFree",
- "_MSpanDead",
}
// mSpanList heads a linked list of spans.