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

@@ -9,14 +9,16 @@ pub mod jumptable;
pub mod dfg;
pub mod layout;
use ir::types::{FunctionName, Signature};
use entity_map::{EntityRef, EntityMap, PrimaryEntityData};
use ir::entities::{StackSlot, JumpTable};
pub use ir::types::{Type, FunctionName, Signature};
pub use ir::entities::{Ebb, Inst, Value, StackSlot, JumpTable};
pub use ir::instructions::{Opcode, InstructionData};
pub use ir::dfg::DataFlowGraph;
pub use ir::layout::Layout;
use ir::jumptable::JumpTableData;
use ir::dfg::DataFlowGraph;
use ir::layout::Layout;
use std::fmt::{self, Debug, Display, Formatter};
use std::ops::Index;
use entity_map::{EntityRef, EntityMap, PrimaryEntityData};
/// A function.
pub struct Function {