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:
@@ -17,17 +17,17 @@ use ir::condcodes::*;
|
||||
use ir::types;
|
||||
use isa::RegUnit;
|
||||
|
||||
use entity_list;
|
||||
use entity;
|
||||
use bitset::BitSet;
|
||||
use ref_slice::{ref_slice, ref_slice_mut};
|
||||
|
||||
/// Some instructions use an external list of argument values because there is not enough space in
|
||||
/// the 16-byte `InstructionData` struct. These value lists are stored in a memory pool in
|
||||
/// `dfg.value_lists`.
|
||||
pub type ValueList = entity_list::EntityList<Value>;
|
||||
pub type ValueList = entity::EntityList<Value>;
|
||||
|
||||
/// Memory pool for holding value lists. See `ValueList`.
|
||||
pub type ValueListPool = entity_list::ListPool<Value>;
|
||||
pub type ValueListPool = entity::ListPool<Value>;
|
||||
|
||||
// Include code generated by `lib/cretonne/meta/gen_instr.py`. This file contains:
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user