mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
Add new Deinit
statement kind
This commit is contained in:
parent
f2d2ec3e93
commit
a923e9211a
@ -772,6 +772,7 @@ fn codegen_stmt<'tcx>(
|
|||||||
}
|
}
|
||||||
StatementKind::StorageLive(_)
|
StatementKind::StorageLive(_)
|
||||||
| StatementKind::StorageDead(_)
|
| StatementKind::StorageDead(_)
|
||||||
|
| StatementKind::Deinit(_)
|
||||||
| StatementKind::Nop
|
| StatementKind::Nop
|
||||||
| StatementKind::FakeRead(..)
|
| StatementKind::FakeRead(..)
|
||||||
| StatementKind::Retag { .. }
|
| StatementKind::Retag { .. }
|
||||||
|
@ -518,6 +518,7 @@ pub(crate) fn mir_operand_get_const_val<'tcx>(
|
|||||||
StatementKind::Assign(_)
|
StatementKind::Assign(_)
|
||||||
| StatementKind::FakeRead(_)
|
| StatementKind::FakeRead(_)
|
||||||
| StatementKind::SetDiscriminant { .. }
|
| StatementKind::SetDiscriminant { .. }
|
||||||
|
| StatementKind::Deinit(_)
|
||||||
| StatementKind::StorageLive(_)
|
| StatementKind::StorageLive(_)
|
||||||
| StatementKind::StorageDead(_)
|
| StatementKind::StorageDead(_)
|
||||||
| StatementKind::Retag(_, _)
|
| StatementKind::Retag(_, _)
|
||||||
|
Loading…
Reference in New Issue
Block a user