Skip to content

Commit 1281342

Browse files
committed
restore tabu_list insertions to PStr-Lis comparisons (#2636)
1 parent ad46441 commit 1281342

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/machine/machine_state_impl.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -564,6 +564,12 @@ impl MachineState {
564564
(HeapCellValueTag::Lis, l1) => {
565565
read_heap_cell!(v2,
566566
(HeapCellValueTag::PStrLoc, l2) => {
567+
if tabu_list.contains(&(l1, l2)) {
568+
continue;
569+
}
570+
571+
tabu_list.insert((l1, l2));
572+
567573
// like the action of
568574
// partial_string_to_pdl here but
569575
// the ordering of PDL pushes is

0 commit comments

Comments
 (0)