Skip to content

Commit

Permalink
chore: handle Intrinsic::AssertConstant
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench committed Aug 15, 2023
1 parent 70aaf04 commit e9fe52d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/noirc_evaluator/src/ssa/ir/instruction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ impl Intrinsic {
/// If there are no side effects then the `Intrinsic` can be removed if the result is unused.
pub(crate) fn has_side_effects(&self) -> bool {
match self {
Intrinsic::Println => true,
Intrinsic::Println | Intrinsic::AssertConstant => true,

Intrinsic::Sort
| Intrinsic::ArrayLen
Expand Down

0 comments on commit e9fe52d

Please sign in to comment.