Skip to content

Commit

Permalink
Update example table to match current output
Browse files Browse the repository at this point in the history
  • Loading branch information
ecstatic-morse committed Oct 1, 2019
1 parent 1611238 commit ffc52a7
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions src/librustc_mir/dataflow/generic/graphviz.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,25 +165,25 @@ where
block: BasicBlock,
) -> io::Result<()> {
// Sample output:
// +-+--------------------------------------------------+
// A | bb4 |
// +-+----------------------------------+---------------+
// B | MIR | STATE |
// +-+----------------------------------+---------------+
// C | | (on entry) | {_0,_2,_3} |
// +-+----------------------------------+---------------+
// D |0| 0: StorageLive(_7) | |
// +-+----------------------------------+---------------+
// |1| 1: StorageLive(_8) | |
// +-+----------------------------------+---------------+
// |2| 2: _8 = &mut _1 | +_8 |
// +-+----------------------------------+---------------+
// E |T| _7 = const Foo::twiddle(move _8) | -_8 |
// +-+----------------------------------+---------------+
// F | | (on unwind) | {_0,_2,_3,_7} |
// +-+----------------------------------+---------------+
// | | (on successful return) | +_7 |
// +-+----------------------------------+---------------+
// +-+-----------------------------------------------+
// A | bb4 |
// +-+----------------------------------+------------+
// B | MIR | STATE |
// +-+----------------------------------+------------+
// C | | (on entry) | {_0,_2,_3} |
// +-+----------------------------------+------------+
// D |0| StorageLive(_7) | |
// +-+----------------------------------+------------+
// |1| StorageLive(_8) | |
// +-+----------------------------------+------------+
// |2| _8 = &mut _1 | +_8 |
// +-+----------------------------------+------------+
// E |T| _4 = const Foo::twiddle(move _2) | -_2 |
// +-+----------------------------------+------------+
// F | | (on unwind) | {_0,_3,_8} |
// +-+----------------------------------+------------+
// | | (on successful return) | +_4 |
// +-+----------------------------------+------------+

write!(
w,
Expand Down

0 comments on commit ffc52a7

Please sign in to comment.