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

@@ -11,14 +11,14 @@
//! We verify that the dominator tree annotations are complete and correct.
//!
use std::collections::HashMap;
use std::borrow::{Borrow, Cow};
use cretonne::dominator_tree::DominatorTree;
use cretonne::flowgraph::ControlFlowGraph;
use cretonne::ir::Function;
use cretonne::ir::entities::AnyEntity;
use cretonne::cfg::ControlFlowGraph;
use cretonne::dominator_tree::DominatorTree;
use cton_reader::TestCommand;
use filetest::subtest::{SubTest, Context, Result};
use std::borrow::{Borrow, Cow};
use std::collections::HashMap;
use utils::match_directive;
struct TestDomtree;

View File

@@ -7,12 +7,12 @@ use std::borrow::Cow;
use std::fmt::{Result, Write, Display, Formatter};
use CommandResult;
use utils::read_to_string;
use filetest::subtest::{self, SubTest, Context, Result as STResult};
use cretonne::flowgraph::ControlFlowGraph;
use cretonne::ir::Function;
use cretonne::cfg::ControlFlowGraph;
use cretonne::ir::instructions::BranchInfo;
use cton_reader::{parse_functions, TestCommand};
use filetest::subtest::{self, SubTest, Context, Result as STResult};
use utils::read_to_string;
pub fn run(files: Vec<String>) -> CommandResult {
for (i, f) in files.into_iter().enumerate() {