Span trace utilities and runner source hint

This commit is contained in:
nyash-codex
2025-11-24 14:17:02 +09:00
parent 3154903121
commit 466e636af6
106 changed files with 4597 additions and 958 deletions

View File

@ -139,6 +139,8 @@ impl LoopBuilderApi for super::builder::MirBuilder {
// Update effect mask and insert at the very start
bb.effects = bb.effects | inst.effects();
bb.instructions.insert(0, inst);
bb.instruction_spans
.insert(0, self.current_span);
Ok(())
} else {
Err(format!("Block {} not found", block.as_u32()))