Fix merge error.
This commit is contained in:
parent
452e36efb3
commit
69eaaadc28
@ -545,20 +545,6 @@ impl<'mir, 'tcx> Machine<'mir, 'tcx> for Evaluator<'mir, 'tcx> {
|
|||||||
ecx.active_thread_stack_mut()
|
ecx.active_thread_stack_mut()
|
||||||
}
|
}
|
||||||
|
|
||||||
#[inline(always)]
|
|
||||||
fn stack<'a>(
|
|
||||||
ecx: &'a InterpCx<'mir, 'tcx, Self>,
|
|
||||||
) -> &'a [Frame<'mir, 'tcx, Self::PointerTag, Self::FrameExtra>] {
|
|
||||||
&ecx.machine.stack
|
|
||||||
}
|
|
||||||
|
|
||||||
#[inline(always)]
|
|
||||||
fn stack_mut<'a>(
|
|
||||||
ecx: &'a mut InterpCx<'mir, 'tcx, Self>,
|
|
||||||
) -> &'a mut Vec<Frame<'mir, 'tcx, Self::PointerTag, Self::FrameExtra>> {
|
|
||||||
&mut ecx.machine.stack
|
|
||||||
}
|
|
||||||
|
|
||||||
#[inline(always)]
|
#[inline(always)]
|
||||||
fn after_stack_push(ecx: &mut InterpCx<'mir, 'tcx, Self>) -> InterpResult<'tcx> {
|
fn after_stack_push(ecx: &mut InterpCx<'mir, 'tcx, Self>) -> InterpResult<'tcx> {
|
||||||
if ecx.memory.extra.stacked_borrows.is_some() {
|
if ecx.memory.extra.stacked_borrows.is_some() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user