Merge pull request #3124 from bakaq/mark-partial-string-tail
Fix marking of partial string tail in iteration
This commit is contained in:
@@ -118,8 +118,8 @@ impl<'a> EagerStackfulPreOrderHeapIter<'a> {
|
|||||||
(HeapCellValueTag::PStrLoc, h) => {
|
(HeapCellValueTag::PStrLoc, h) => {
|
||||||
let tail_idx = self.heap.scan_slice_to_str(h).tail_idx;
|
let tail_idx = self.heap.scan_slice_to_str(h).tail_idx;
|
||||||
|
|
||||||
self.heap[tail_idx].set_mark_bit(self.mark_phase);
|
|
||||||
self.iter_stack.push(self.heap[tail_idx]);
|
self.iter_stack.push(self.heap[tail_idx]);
|
||||||
|
self.heap[tail_idx].set_mark_bit(self.mark_phase);
|
||||||
}
|
}
|
||||||
_ => {
|
_ => {
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user