diff options
| author | Ralf Jung <post@ralfj.de> | 2018-09-20 12:27:50 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2018-09-20 12:27:50 +0200 |
| commit | 0309664491ba2cebc3dc7f509cfbad864f35d8d1 (patch) | |
| tree | ba2d721f830154b0f6e854665a70e6017306e719 | |
| parent | c711e155215c01846b8fd0bf42d9f0495f4b52d6 (diff) | |
| download | rust-0309664491ba2cebc3dc7f509cfbad864f35d8d1.tar.gz rust-0309664491ba2cebc3dc7f509cfbad864f35d8d1.zip | |
fix stage 0 compilation
| -rw-r--r-- | src/librustc_mir/const_eval.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/librustc_mir/const_eval.rs b/src/librustc_mir/const_eval.rs index bde0e95d372..99a49122ef7 100644 --- a/src/librustc_mir/const_eval.rs +++ b/src/librustc_mir/const_eval.rs @@ -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[..], ) |
