mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 05:57:03 +03:00
handle EndRegion as no-op
This commit is contained in:
@@ -141,6 +141,8 @@ fn statement(&mut self, stmt: &mir::Statement<'tcx>) -> EvalResult<'tcx> {
|
||||
self.deallocate_local(old_val)?;
|
||||
}
|
||||
|
||||
EndRegion(..) => {}
|
||||
|
||||
// Defined to do nothing. These are added by optimization passes, to avoid changing the
|
||||
// size of MIR constantly.
|
||||
Nop => {}
|
||||
|
||||
Reference in New Issue
Block a user