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

@@ -4,7 +4,7 @@ use ir::{Function, Ebb, Inst, Value, Cursor, CursorBase, Type, InstBuilder, Layo
use flowgraph::ControlFlowGraph;
use std::collections::HashSet;
use dominator_tree::DominatorTree;
use entity_list::{EntityList, ListPool};
use entity::{EntityList, ListPool};
use loop_analysis::{Loop, LoopAnalysis};
/// Performs the LICM pass by detecting loops within the CFG and moving