Skip to content

Commit

Permalink
fix stage 0 compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Sep 20, 2018
1 parent c711e15 commit 0309664
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/librustc_mir/const_eval.rs
Original file line number Diff line number Diff line change
Expand Up @@ -362,9 +362,10 @@ impl<'a, 'mir, 'tcx> interpret::Machine<'a, 'mir, 'tcx>
}
}

let span = ecx.frame().span;
ecx.machine.loop_detector.observe_and_analyze(
&ecx.tcx,
ecx.frame().span,
span,
&ecx.memory,
&ecx.stack[..],
)
Expand Down

0 comments on commit 0309664

Please sign in to comment.