Rename the 'cfg' module to 'flowgraph'.
The 'cfg' name was easy to confuse with 'configuration'.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user