diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-05-29 17:32:50 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-05-30 15:52:23 -0700 |
| commit | f4fa7c8a07a96cc9d0aae0bfc6515fb747f25341 (patch) | |
| tree | 6460c18d1af201ac4e5f620be2fb1c23da5320a2 /src/liballoc | |
| parent | e5e865b8044cef76bd33ba268a8cdea8a401c96c (diff) | |
| download | rust-f4fa7c8a07a96cc9d0aae0bfc6515fb747f25341.tar.gz rust-f4fa7c8a07a96cc9d0aae0bfc6515fb747f25341.zip | |
Register new snapshots
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/heap.rs | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/liballoc/heap.rs b/src/liballoc/heap.rs index 8376fc578db..ba3180cefd6 100644 --- a/src/liballoc/heap.rs +++ b/src/liballoc/heap.rs @@ -133,14 +133,7 @@ unsafe fn exchange_malloc(size: uint, align: uint) -> *mut u8 { } } -#[cfg(not(test), stage0)] -#[lang="exchange_free"] -#[inline] -unsafe fn exchange_free(ptr: *mut u8) { - deallocate(ptr, 0, 8); -} - -#[cfg(not(test), not(stage0))] +#[cfg(not(test))] #[lang="exchange_free"] #[inline] unsafe fn exchange_free(ptr: *mut u8, size: uint, align: uint) { |
