pub fn push(&mut self, insn: I) {
        match insn.is_term() {
            MachTerminator::None | MachTerminator::Ret => {}
            MachTerminator::Uncond(target) => {
                self.vcode.block_succs.push(target);
            }
            MachTerminator::Cond(true_branch, false_branch) => {
                self.vcode.block_succs.push(true_branch);
                self.vcode.block_succs.push(false_branch);
            }
        }
        self.ir_inst_insns.push(insn);
    }
/// Push an instruction for the current BB and current IR inst within the BB.
Push an instruction for the current BB and current IR inst within the BB.
Push an instruction for the current BB and current IR inst within the BB .
pub fn push(&mut self, insn: I) {
        match insn.is_term() {
            MachTerminator::None | MachTerminator::Ret => {}
            MachTerminator::Uncond(target) => {
                self.vcode.block_succs.push(target);
            }
            MachTerminator::Cond(true_branch, false_branch) => {
                self.vcode.block_succs.push(true_branch);
                self.vcode.block_succs.push(false_branch);
            }
        }
        self.ir_inst_insns.push(insn);
    }
pub fn push ( & mut self , insn : I ) { match insn . is_term ( ) { MachTerminator :: None | MachTerminator :: Ret => { } MachTerminator :: Uncond ( target ) => { self . vcode . block_succs . push ( target ) ; } MachTerminator :: Cond ( true_branch , false_branch ) => { self . vcode . block_succs . push ( true_branch ) ; self . vcode . block_succs . push ( false_branch ) ; } } self . ir_inst_insns . push ( insn ) ; }
Push an instruction for the current BB and current IR inst within the BB.
Push an instruction for the current BB and current IR inst within the BB .
&mut self
insn
I
&mut self
insn
I