diff --git a/src/runtime/mbitmap.go b/src/runtime/mbitmap.go index 9df64cb168..0bfb184945 100644 --- a/src/runtime/mbitmap.go +++ b/src/runtime/mbitmap.go @@ -492,7 +492,7 @@ func (h heapBits) bits() uint32 { // are scalars. // h must not describe the first or second word of the object. func (h heapBits) morePointers() bool { - return *h.bitp&(bitMarked<>h.shift)&bitPointer != 0 + return h.bits()&bitPointer != 0 } // hasPointers reports whether the given object has any pointers.