Implement EntityRef for most of the entities module.

The only exception is Value which has two dimensions.
This commit is contained in:
Jakob Stoklund Olesen
2016-07-15 15:31:13 -07:00
parent 191c607bf9
commit 99464bc29d
4 changed files with 30 additions and 18 deletions

View File

@@ -1,6 +1,7 @@
//! Representation of Cretonne IL functions.
use types::{Type, FunctionName, Signature, VOID};
use entity_map::EntityRef;
use entities::{Ebb, NO_EBB, Inst, NO_INST, Value, NO_VALUE, ExpandedValue, StackSlot};
use instructions::*;
use std::fmt::{self, Display, Formatter};