Rename the 'cfg' module to 'flowgraph'.

The 'cfg' name was easy to confuse with 'configuration'.
This commit is contained in:
Jakob Stoklund Olesen
2017-03-21 15:33:23 -07:00
parent 697246658d
commit a9056f699e
10 changed files with 24 additions and 24 deletions

View File

@@ -1,10 +1,10 @@
extern crate cretonne;
extern crate cton_reader;
use self::cton_reader::parse_functions;
use self::cretonne::ir::Ebb;
use self::cretonne::cfg::ControlFlowGraph;
use self::cretonne::entity_map::EntityMap;
use self::cretonne::flowgraph::ControlFlowGraph;
use self::cretonne::ir::Ebb;
use self::cton_reader::parse_functions;
fn test_reverse_postorder_traversal(function_source: &str, ebb_order: Vec<u32>) {
let func = &parse_functions(function_source).unwrap()[0];