From f4fa7c8a07a96cc9d0aae0bfc6515fb747f25341 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Thu, 29 May 2014 17:32:50 -0700 Subject: Register new snapshots --- src/liballoc/heap.rs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/liballoc') 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) { -- cgit 1.4.1-3-g733a5