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 22334bcb54
commit f84e218a93
10 changed files with 24 additions and 24 deletions

View File

@@ -1,8 +1,8 @@
//! A Dominator Tree represented as mappings of Ebbs to their immediate dominator.
use cfg::{ControlFlowGraph, BasicBlock};
use ir::{Ebb, Inst, Function, Layout, ProgramOrder};
use entity_map::EntityMap;
use flowgraph::{ControlFlowGraph, BasicBlock};
use ir::{Ebb, Inst, Function, Layout, ProgramOrder};
use packed_option::PackedOption;
use std::cmp::Ordering;
@@ -222,9 +222,9 @@ impl DominatorTree {
#[cfg(test)]
mod test {
use super::*;
use flowgraph::ControlFlowGraph;
use ir::{Function, InstBuilder, Cursor, types};
use cfg::ControlFlowGraph;
use super::*;
#[test]
fn empty() {