1 parent 51da6a9 commit 893190aCopy full SHA for 893190a
1 file changed
zjit/src/hir.rs
@@ -6738,7 +6738,7 @@ impl Function {
6738
[head, tail @ ..] => {
6739
block_cache = cached_insns[*head].clone();
6740
for pred in tail {
6741
- block_cache.retain(|key, value| cached_insns[pred.0 as usize].get(key) == Some(value));
+ block_cache.retain(|key, value| cached_insns[*pred].get(key) == Some(value));
6742
}
6743
6744
// If multiple entries contain the same offset, they may alias.
0 commit comments