diff options
| author | Jonas Schievink <jonas@schievink.net> | 2016-05-13 00:20:59 +0200 |
|---|---|---|
| committer | Jonas Schievink <jonas@schievink.net> | 2016-05-13 00:20:59 +0200 |
| commit | 96b178b131c63b38aa760381a4a0359fd8a17ed1 (patch) | |
| tree | b9685e58ef6bbfba5547e828d13b3df344aad20c /src/liballoc_system | |
| parent | e88defe71806ad190588e168e513bc1098f7c9fb (diff) | |
| download | rust-96b178b131c63b38aa760381a4a0359fd8a17ed1.tar.gz rust-96b178b131c63b38aa760381a4a0359fd8a17ed1.zip | |
Some simple improvements to MIR pretty printing
In short, this PR changes the MIR printer so that it: * places an empty line between the MIR for each item * does *not* write an empty line before the first BB when there are no var decls * aligns the "// Scope" comments 50 chars in (makes the output more readable) * prints the scope comments as "// scope N at ..." instead of "// Scope(N) at ..." * prints a prettier scope tree: * no more unbalanced delimiters! * no more "Parent" entry (these convey no useful information) * drop the "Scope()" and just print scope IDs * no braces when the scope is empty
Diffstat (limited to 'src/liballoc_system')
0 files changed, 0 insertions, 0 deletions
