Skip to content

Commit aad3f09

Browse files
committed
Add entry nodes iterator to pcodecfg
1 parent d6712f9 commit aad3f09

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

jingle/src/analysis/cpa/residue.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,13 @@ impl<A: ConfigurableProgramAnalysis, R: Residue<A::State>> ResidueWrapper<A, R>
7373
_phantom: Default::default(),
7474
}
7575
}
76+
77+
pub fn with_residue<V: Residue<A::State>>(self, _r: V) -> ResidueWrapper<A, V> {
78+
ResidueWrapper {
79+
a: self.a,
80+
_phantom: Default::default(),
81+
}
82+
}
7683
}
7784

7885
impl<A: ConfigurableProgramAnalysis, R: Residue<A::State>> ConfigurableProgramAnalysis

0 commit comments

Comments
 (0)