Extract the topological ordering into a module.

Multiple passes will need to iterate over EBBs in a
dominator-topological order. Move that functionality into a separate
module.
This commit is contained in:
Jakob Stoklund Olesen
2017-04-27 17:39:58 -07:00
parent a29ea664e2
commit 6fe4aa2f8d
4 changed files with 144 additions and 46 deletions

View File

@@ -35,4 +35,5 @@ mod packed_option;
mod partition_slice;
mod predicates;
mod ref_slice;
mod topo_order;
mod write;