Remove alloc_id_hack.
This commit is contained in:
parent
53403ee8bd
commit
3d9a91d0f7
1 changed files with 0 additions and 5 deletions
|
@ -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)]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue