Skip to content

Commit 64a5ec1

Browse files
committed
Fix inverted condition bug
1 parent 69fd6e7 commit 64a5ec1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

zjit/src/hir.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5087,7 +5087,7 @@ impl Function {
50875087
}
50885088
// TODO: Figure out if we need to handle a write barrier special case. Do these also need to be removed after removing stores?
50895089
// Prune away any dead stores
5090-
insns.retain(|i| dead_stores.contains(i));
5090+
insns.retain(|i| !dead_stores.contains(i));
50915091
self.blocks[block.0].insns = insns;
50925092
}
50935093
}

0 commit comments

Comments
 (0)