Rename the entity_ref module to 'entity'.

This is in preparation for moving a number of data structures into
sub-modules of the 'entity' module:

- EntityList
- EntityMap
- SparseMap
This commit is contained in:
Jakob Stoklund Olesen
2017-08-18 14:37:03 -07:00
parent c7b9bc1abf
commit 8599372098
16 changed files with 23 additions and 21 deletions

View File

@@ -7,7 +7,7 @@ use cretonne::ir::function::DisplayFunction;
use cretonne::isa::TargetIsa;
use ssa::{SSABuilder, SideEffects, Block};
use cretonne::entity_map::{EntityMap, PrimaryEntityData};
use cretonne::entity_ref::EntityRef;
use cretonne::entity::EntityRef;
use std::hash::Hash;
/// Permanent structure used for translating into Cretonne IL.
@@ -571,7 +571,7 @@ impl<'a, Variable> FunctionBuilder<'a, Variable>
#[cfg(test)]
mod tests {
use cretonne::entity_ref::EntityRef;
use cretonne::entity::EntityRef;
use cretonne::ir::{FunctionName, Function, CallConv, Signature, ArgumentType, InstBuilder};
use cretonne::ir::types::*;
use frontend::{ILBuilder, FunctionBuilder};