handle EndRegion as no-op
This commit is contained in:
parent
fb3d93cf23
commit
f14ebd1142
1 changed files with 2 additions and 0 deletions
|
@ -141,6 +141,8 @@ impl<'a, 'tcx> EvalContext<'a, 'tcx> {
|
||||||
self.deallocate_local(old_val)?;
|
self.deallocate_local(old_val)?;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EndRegion(..) => {}
|
||||||
|
|
||||||
// Defined to do nothing. These are added by optimization passes, to avoid changing the
|
// Defined to do nothing. These are added by optimization passes, to avoid changing the
|
||||||
// size of MIR constantly.
|
// size of MIR constantly.
|
||||||
Nop => {}
|
Nop => {}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue