extract main NLL MIR dump function
this will allow calling from polonius MIR
This commit is contained in:
parent
e7fb93bf9b
commit
ee93ce9c61
2 changed files with 47 additions and 34 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue