Use EBB layout order almost everywhere.

The ebbs_numerically() function was a workaround for the unimplemented EBB layout
order.
This commit is contained in:
Jakob Stoklund Olesen
2016-07-18 18:52:35 -07:00
parent 4ee2ab5042
commit 8c58fe4631
4 changed files with 6 additions and 6 deletions

View File

@@ -106,7 +106,7 @@ impl<T: Write> CFGPrinter<T> {
}
fn ebb_subgraphs(&mut self, func: &Function) {
for ebb in func.ebbs_numerically() {
for ebb in &func.layout {
let inst_data = func.layout
.ebb_insts(ebb)
.filter(|inst| {