Skip to content

Commit 706d7ff

Browse files
committed
Update codegen cranelift for ConstEvalCounter
1 parent 739938d commit 706d7ff

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/base.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -789,6 +789,7 @@ fn codegen_stmt<'tcx>(
789789
StatementKind::StorageLive(_)
790790
| StatementKind::StorageDead(_)
791791
| StatementKind::Deinit(_)
792+
| StatementKind::ConstEvalCounter
792793
| StatementKind::Nop
793794
| StatementKind::FakeRead(..)
794795
| StatementKind::Retag { .. }

src/constant.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -530,6 +530,7 @@ pub(crate) fn mir_operand_get_const_val<'tcx>(
530530
| StatementKind::Retag(_, _)
531531
| StatementKind::AscribeUserType(_, _)
532532
| StatementKind::Coverage(_)
533+
| StatementKind::ConstEvalCounter
533534
| StatementKind::Nop => {}
534535
}
535536
}

0 commit comments

Comments
 (0)