func (p *Process) setHeapPtr(a core.Address) {
	h := p.allocHeapInfo(a)
	if p.proc.PtrSize() == 8 {
		i := uint(a%heapInfoSize) / 8
		h.ptr[0] |= uint64(1) << i
		return
	}
	i := a % heapInfoSize / 4
	h.ptr[i/64] |= uint64(1) << (i % 64)
}
func (p *Process) setHeapPtr(a core.Address) {
	h := p.allocHeapInfo(a)
	if p.proc.PtrSize() == 8 {
		i := uint(a%heapInfoSize) / 8
		h.ptr[0] |= uint64(1) << i
		return
	}
	i := a % heapInfoSize / 4
	h.ptr[i/64] |= uint64(1) << (i % 64)
}
func ( p * Process ) setHeapPtr ( a core . Address ) { h := p . allocHeapInfo ( a ) if p . proc . PtrSize ( ) == 8 { i := uint ( a % heapInfoSize ) / 8 h . ptr [ 0 ] |= uint64 ( 1 ) << i return } i := a % heapInfoSize / 4 h . ptr [ i / 64 ] |= uint64 ( 1 ) << ( i % 64 ) }
// setHeapPtr records that the memory at heap address a contains a pointer.
setHeapPtr records that the memory at heap address a contains a pointer .