Update codegen cranelift for ConstEvalCounter

This commit is contained in:
Bryan Garza 2022-12-29 23:44:16 +00:00
parent eea42733ac
commit 164ff64013
2 changed files with 2 additions and 0 deletions

View File

@ -789,6 +789,7 @@ fn codegen_stmt<'tcx>(
StatementKind::StorageLive(_) StatementKind::StorageLive(_)
| StatementKind::StorageDead(_) | StatementKind::StorageDead(_)
| StatementKind::Deinit(_) | StatementKind::Deinit(_)
| StatementKind::ConstEvalCounter
| StatementKind::Nop | StatementKind::Nop
| StatementKind::FakeRead(..) | StatementKind::FakeRead(..)
| StatementKind::Retag { .. } | StatementKind::Retag { .. }

View File

@ -530,6 +530,7 @@ pub(crate) fn mir_operand_get_const_val<'tcx>(
| StatementKind::Retag(_, _) | StatementKind::Retag(_, _)
| StatementKind::AscribeUserType(_, _) | StatementKind::AscribeUserType(_, _)
| StatementKind::Coverage(_) | StatementKind::Coverage(_)
| StatementKind::ConstEvalCounter
| StatementKind::Nop => {} | StatementKind::Nop => {}
} }
} }