diff --git a/crates/ir/src/inst/control_flow.rs b/crates/ir/src/inst/control_flow.rs index e4c9a2ad..f2cb4f4e 100644 --- a/crates/ir/src/inst/control_flow.rs +++ b/crates/ir/src/inst/control_flow.rs @@ -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,