refactor(mir): phase260 p0 edge-args plumbing (strangler) + ssot api + docs

This commit is contained in:
2025-12-21 04:34:22 +09:00
parent 4496b6243d
commit 4dfe3349bf
42 changed files with 1044 additions and 187 deletions

View File

@ -335,7 +335,10 @@ impl MirFunction {
) -> Result<(), String> {
if let Some(bb) = self.get_block_mut(bb_id) {
if !bb.is_terminated() {
bb.set_terminator(MirInstruction::Jump { target });
bb.set_terminator(MirInstruction::Jump {
target,
edge_args: None,
});
}
Ok(())
} else {
@ -357,6 +360,8 @@ impl MirFunction {
condition,
then_bb,
else_bb,
then_edge_args: None,
else_edge_args: None,
});
Ok(())
} else {