Update codegen cranelift for ConstEvalCounter

This commit is contained in:
Bryan Garza 2022-12-29 23:44:16 +00:00
parent 739938d7a8
commit 706d7ff108
2 changed files with 2 additions and 0 deletions

View File

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

View File

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