Re-export common types in the cretonne::ir module.

Clients should not have to navigate the ir sub-modules to find commonly used
types.
This commit is contained in:
Jakob Stoklund Olesen
2016-08-12 16:11:38 -07:00
parent 9e87bffa82
commit 40e0989b8b
15 changed files with 36 additions and 36 deletions

View File

@@ -43,8 +43,7 @@
pub mod riscv;
use settings;
use ir::dfg::DataFlowGraph;
use ir::entities::Inst;
use ir::{Inst, DataFlowGraph};
/// Look for a supported ISA with the given `name`.
/// Return a builder that can create a corresponding `TargetIsa`.

View File

@@ -5,8 +5,7 @@ pub mod settings;
use super::super::settings as shared_settings;
use super::Builder as IsaBuilder;
use super::{TargetIsa, Encoding};
use ir::dfg::DataFlowGraph;
use ir::entities::Inst;
use ir::{Inst, DataFlowGraph};
#[allow(dead_code)]
struct Isa {