Add back Machine::before_terminator(...) method
Added it back because it's used by Miri, but in the compiler itself, it will not do anything (just return `Ok(())`.
This commit is contained in:
@@ -62,6 +62,8 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
|
||||
return Ok(true);
|
||||
}
|
||||
|
||||
M::before_terminator(self)?;
|
||||
|
||||
let terminator = basic_block.terminator();
|
||||
self.terminator(terminator)?;
|
||||
Ok(true)
|
||||
|
||||
Reference in New Issue
Block a user