Push an instruction for the current BB and current IR inst within the BB.
(&mut self, insn: I, loc: RelSourceLoc)
| 362 | /// Push an instruction for the current BB and current IR inst |
| 363 | /// within the BB. |
| 364 | pub fn push(&mut self, insn: I, loc: RelSourceLoc) { |
| 365 | assert!(!insn.is_low_level_branch()); // These are not meant to be in VCode. |
| 366 | self.vcode.insts.push(insn); |
| 367 | self.vcode.srclocs.push(loc); |
| 368 | } |
| 369 | |
| 370 | /// Add a successor block with branch args. |
| 371 | pub fn add_succ(&mut self, block: BlockIndex, args: &[Reg]) { |
no outgoing calls
no test coverage detected