Skip to content

Commit 40c12d1

Browse files
committed
remove some frame parameters that are no longer needed
1 parent 1d30a3c commit 40c12d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/helpers.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriInterpCxExt<'mir, 'tcx> {
411411
.ok_or_else(|| err_ub_format!("callee has fewer arguments than expected"))?;
412412
// Make the local live, and insert the initial value.
413413
this.storage_live(local)?;
414-
let callee_arg = this.local_to_place(this.frame_idx(), local)?;
414+
let callee_arg = this.local_to_place(local)?;
415415
this.write_immediate(*arg, &callee_arg)?;
416416
}
417417
if callee_args.next().is_some() {

0 commit comments

Comments
 (0)