Index: src/pkg/runtime/mgc0.c |
=================================================================== |
--- a/src/pkg/runtime/mgc0.c |
+++ b/src/pkg/runtime/mgc0.c |
@@ -76,7 +76,7 @@ |
obj = vp[i]; |
if(obj == nil) |
continue; |
- if(runtime·mheap.min <= (byte*)obj && (byte*)obj < runtime·mheap.max) { |
+ if(runtime·mheap.arena_start <= (byte*)obj && (byte*)obj < runtime·mheap.arena_end) { |
if(runtime·mlookup(obj, &obj, &size, nil, &refp)) { |
ref = *refp; |
switch(ref & ~RefFlags) { |