Skip to content

Commit

Permalink
Remove terminator marker from call instructionl
Browse files Browse the repository at this point in the history
  • Loading branch information
Y-Nak committed Nov 28, 2024
1 parent 2eb2bee commit 98d9290
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/ir/src/inst/control_flow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,11 @@ impl Phi {
}
}

// We need to perform analysis or modify function signature definition to know
// * if the function call has side effect
// * if the function call is terminator
#[derive(Debug, Clone, PartialEq, Eq, Hash, Inst)]
#[inst(side_effect(super::SideEffect::Write))]
#[inst(terminator)]
pub struct Call {
callee: FuncRef,

Expand Down

0 comments on commit 98d9290

Please sign in to comment.