Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Reset row background for each block
Now the first row of each basic block is always light instead of
changing seemingly at random.
  • Loading branch information
ecstatic-morse committed Oct 1, 2019
commit 161123898f1c48bd7622432e8939183463f4b2ef
1 change: 1 addition & 0 deletions src/librustc_mir/dataflow/generic/graphviz.rs
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ where
)?;

// C: Entry state
self.bg = Background::Light;
self.results.seek_to_block_start(block);
self.write_row_with_curr_state(w, "", "(on entry)")?;
self.prev_state.overwrite(self.results.get());
Expand Down