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 4f7c624ba6
commit 652ebbdc27
4 changed files with 6 additions and 6 deletions

View File

@@ -16,7 +16,7 @@ pub fn write_function(w: &mut Write, func: &Function) -> Result {
try!(write_spec(w, func));
try!(writeln!(w, " {{"));
let mut any = try!(write_preamble(w, func));
for ebb in func.ebbs_numerically() {
for ebb in &func.layout {
if any {
try!(writeln!(w, ""));
}