about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorDylan MacKenzie <ecstaticmorse@gmail.com>2019-10-01 15:23:04 -0700
committerDylan MacKenzie <ecstaticmorse@gmail.com>2019-10-01 15:23:04 -0700
commitffc52a7fe6b5b928b5e1dce43cf04e188c34f9e4 (patch)
tree80507211ff676634688b3bbe9892cd048e98fc53 /src
parent161123898f1c48bd7622432e8939183463f4b2ef (diff)
downloadrust-ffc52a7fe6b5b928b5e1dce43cf04e188c34f9e4.tar.gz
rust-ffc52a7fe6b5b928b5e1dce43cf04e188c34f9e4.zip
Update example table to match current output
Diffstat (limited to 'src')
-rw-r--r--src/librustc_mir/dataflow/generic/graphviz.rs38
1 files changed, 19 insertions, 19 deletions
diff --git a/src/librustc_mir/dataflow/generic/graphviz.rs b/src/librustc_mir/dataflow/generic/graphviz.rs
index 9ed80a98bbb..47ace8f33ec 100644
--- a/src/librustc_mir/dataflow/generic/graphviz.rs
+++ b/src/librustc_mir/dataflow/generic/graphviz.rs
@@ -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,