Skip to content

Commit cc72eb5

Browse files
committed
Include destination in Call inputs for PcodeOperation
1 parent a1ab016 commit cc72eb5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

jingle_sleigh/src/pcode/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -416,9 +416,9 @@ impl PcodeOperation {
416416
BranchInd { input, .. } => {
417417
vec![input.into()]
418418
}
419-
Call { args, .. } => {
420-
let b: Vec<_> = args.iter().map(GeneralizedVarNode::from).collect();
421-
419+
Call { args, dest, .. } => {
420+
let mut b = vec![GeneralizedVarNode::from(dest)];
421+
b.extend(args.iter().map(GeneralizedVarNode::from));
422422
b
423423
}
424424
CallInd { input, .. } => {

0 commit comments

Comments
 (0)