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:
@@ -122,7 +122,7 @@ impl Display for JumpTableData {
|
||||
mod tests {
|
||||
use super::JumpTableData;
|
||||
use ir::Ebb;
|
||||
use entity_ref::EntityRef;
|
||||
use entity::EntityRef;
|
||||
|
||||
#[test]
|
||||
fn empty() {
|
||||
|
||||
@@ -1086,7 +1086,7 @@ impl<'c, 'fc: 'c, 'fd> InstInserterBase<'fd> for LayoutCursorInserter<'c, 'fc, '
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::{Layout, Cursor, CursorBase, CursorPosition};
|
||||
use entity_ref::EntityRef;
|
||||
use entity::EntityRef;
|
||||
use ir::{Ebb, Inst, ProgramOrder};
|
||||
use std::cmp::Ordering;
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
//! Program points.
|
||||
|
||||
use entity_ref::EntityRef;
|
||||
use entity::EntityRef;
|
||||
use ir::{Ebb, Inst, ValueDef};
|
||||
use std::fmt;
|
||||
use std::u32;
|
||||
@@ -135,7 +135,7 @@ pub trait ProgramOrder {
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
use entity_ref::EntityRef;
|
||||
use entity::EntityRef;
|
||||
use ir::{Inst, Ebb};
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in New Issue
Block a user