diff options
| author | Ralf Jung <post@ralfj.de> | 2024-03-09 18:23:26 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2024-03-09 18:28:14 +0100 |
| commit | 4497990dff8ce181fa12757eb4e786b85025ae61 (patch) | |
| tree | 3d315e941984ce86f271aed0b350740e8e32975a /src | |
| parent | b888e895dec646657d6444652615a69c87276e5a (diff) | |
| download | rust-4497990dff8ce181fa12757eb4e786b85025ae61.tar.gz rust-4497990dff8ce181fa12757eb4e786b85025ae61.zip | |
remove some frame parameters that are no longer needed
Diffstat (limited to 'src')
| -rw-r--r-- | src/tools/miri/src/helpers.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/miri/src/helpers.rs b/src/tools/miri/src/helpers.rs index 9e4b5fe8ad7..ba9239085ce 100644 --- a/src/tools/miri/src/helpers.rs +++ b/src/tools/miri/src/helpers.rs @@ -411,7 +411,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriInterpCxExt<'mir, 'tcx> { .ok_or_else(|| err_ub_format!("callee has fewer arguments than expected"))?; // Make the local live, and insert the initial value. this.storage_live(local)?; - let callee_arg = this.local_to_place(this.frame_idx(), local)?; + let callee_arg = this.local_to_place(local)?; this.write_immediate(*arg, &callee_arg)?; } if callee_args.next().is_some() { |
