1
Fork 0

extract main NLL MIR dump function

this will allow calling from polonius MIR
This commit is contained in:
Rémy Rakic 2024-12-13 15:35:28 +00:00
parent e7fb93bf9b
commit ee93ce9c61
2 changed files with 47 additions and 34 deletions

View file

@ -23,6 +23,7 @@ pub(crate) const ALIGN: usize = 40;
/// An indication of where we are in the control flow graph. Used for printing
/// extra information in `dump_mir`
#[derive(Clone)]
pub enum PassWhere {
/// We have not started dumping the control flow graph, but we are about to.
BeforeCFG,