1
Fork 0

Remove alloc_id_hack.

This commit is contained in:
Scott Olson 2016-03-04 23:22:37 -06:00
parent 53403ee8bd
commit 3d9a91d0f7

View file

@ -36,11 +36,6 @@ mod memory {
#[derive(Copy, Clone, Debug, Eq, PartialEq)] #[derive(Copy, Clone, Debug, Eq, PartialEq)]
pub struct AllocId(u64); pub struct AllocId(u64);
// TODO(tsion): Remove this hack.
pub fn alloc_id_hack(i: u64) -> AllocId {
AllocId(i)
}
// TODO(tsion): Shouldn't clone Values. (Audit the rest of the code.) // TODO(tsion): Shouldn't clone Values. (Audit the rest of the code.)
// TODO(tsion): Rename to Allocation. // TODO(tsion): Rename to Allocation.
#[derive(Clone, Debug)] #[derive(Clone, Debug)]