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

@@ -1,9 +1,10 @@
//! Data flow graph tracking Instructions, Values, and EBBs.
use entity_map::{EntityMap, PrimaryEntityData};
use ir::entities::{Ebb, Inst, Value, NO_VALUE, ExpandedValue};
use ir::{Ebb, Inst, Value, Type};
use ir::entities::{NO_VALUE, ExpandedValue};
use ir::instructions::InstructionData;
use ir::types::Type;
use entity_map::{EntityMap, PrimaryEntityData};
use std::ops::{Index, IndexMut};
use std::u16;
@@ -359,7 +360,7 @@ impl EbbData {
mod tests {
use super::*;
use ir::types;
use ir::instructions::{Opcode, InstructionData};
use ir::{Opcode, InstructionData};
#[test]
fn make_inst() {