Display Snapshot's FrameState using Display (https://github.com/Shopify/zjit/pull/111)
This makes the output a little nicer when doing --zjit-dump-hir=all
This commit is contained in:
parent
490a6d8ef9
commit
74f4d8b8a6
Notes:
git
2025-04-18 13:47:37 +00:00
@ -486,6 +486,7 @@ impl<'a> std::fmt::Display for InsnPrinter<'a> {
|
|||||||
}
|
}
|
||||||
Ok(())
|
Ok(())
|
||||||
},
|
},
|
||||||
|
Insn::Snapshot { state } => write!(f, "Snapshot {}", state),
|
||||||
insn => { write!(f, "{insn:?}") }
|
insn => { write!(f, "{insn:?}") }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user