Move EntityList and SparseMap into the entity module.

These data structures are dependent on EntityRef and EntityMap, so it
makes sense to keep them in the same module.
This commit is contained in:
Jakob Stoklund Olesen
2017-08-18 16:09:13 -07:00
parent 7e08b14cf6
commit 9cb0529be4
14 changed files with 17 additions and 15 deletions

View File

@@ -58,6 +58,7 @@
use dbg::DisplayList;
use dominator_tree::DominatorTree;
use entity::SparseSet;
use flowgraph::ControlFlowGraph;
use ir;
use ir::entities::AnyEntity;
@@ -65,7 +66,6 @@ use ir::instructions::{InstructionFormat, BranchInfo, ResolvedConstraint, CallIn
use ir::{types, Function, ValueDef, Ebb, Inst, SigRef, FuncRef, ValueList, JumpTable, StackSlot,
StackSlotKind, GlobalVar, Value, Type, Opcode, ValueLoc, ArgumentLoc};
use isa::TargetIsa;
use sparse_map::SparseSet;
use std::error as std_error;
use std::fmt::{self, Display, Formatter};
use std::result;