refactor(mir): phase260 p0 edge-args plumbing (strangler) + ssot api + docs
This commit is contained in:
@ -63,6 +63,9 @@ pub fn emit_return_value(f: &mut MirFunction, bb: BasicBlockId, value: ValueId)
|
||||
#[inline]
|
||||
pub fn emit_jump(f: &mut MirFunction, bb: BasicBlockId, target: BasicBlockId) {
|
||||
if let Some(block) = f.get_block_mut(bb) {
|
||||
block.add_instruction(MirInstruction::Jump { target });
|
||||
block.add_instruction(MirInstruction::Jump {
|
||||
target,
|
||||
edge_args: None,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user