Span trace utilities and runner source hint
This commit is contained in:
@ -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()))
|
||||
|
||||
Reference in New Issue
Block a user