Rollup merge of #125633 - RalfJung:miri-no-copy, r=saethlin
miri: avoid making a full copy of all new allocations Hopefully fixes https://github.com/rust-lang/miri/issues/3637 r? ``@saethlin``
This commit is contained in:
commit
305137de18
8 changed files with 92 additions and 85 deletions
|
@ -174,7 +174,7 @@ impl<'tcx> interpret::Machine<'tcx> for DummyMachine {
|
|||
unimplemented!()
|
||||
}
|
||||
|
||||
fn init_frame_extra(
|
||||
fn init_frame(
|
||||
_ecx: &mut InterpCx<'tcx, Self>,
|
||||
_frame: interpret::Frame<'tcx, Self::Provenance>,
|
||||
) -> interpret::InterpResult<'tcx, interpret::Frame<'tcx, Self::Provenance, Self::FrameExtra>>
|
||||
|
|
|
@ -643,7 +643,7 @@ impl<'tcx> interpret::Machine<'tcx> for CompileTimeInterpreter<'tcx> {
|
|||
}
|
||||
|
||||
#[inline(always)]
|
||||
fn init_frame_extra(
|
||||
fn init_frame(
|
||||
ecx: &mut InterpCx<'tcx, Self>,
|
||||
frame: Frame<'tcx>,
|
||||
) -> InterpResult<'tcx, Frame<'tcx>> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue