aboutsummaryrefslogtreecommitdiff
path: root/src/mem/alloc.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/alloc.rs')
-rw-r--r--src/mem/alloc.rs12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/mem/alloc.rs b/src/mem/alloc.rs
index bb22ba6..e06230d 100644
--- a/src/mem/alloc.rs
+++ b/src/mem/alloc.rs
@@ -277,8 +277,6 @@ unsafe impl GlobalAlloc for GrandAllocator {
assert!(index < GRAND_ALLOC_SIZE);
assert_eq!(diff % spacing, 0);
U8_GRAND_ALLOC.free(&mut pool[index]);
- #[cfg(_DEBUG_)]
- crate::println!("{:?}", diff/spacing);
});
}
2 => {
@@ -289,8 +287,6 @@ unsafe impl GlobalAlloc for GrandAllocator {
assert!(index < GRAND_ALLOC_SIZE);
assert_eq!(diff % spacing, 0);
U16_GRAND_ALLOC.free(&mut pool[index]);
- #[cfg(_DEBUG_)]
- crate::println!("{:?}", diff/spacing);
});
}
3..=4 => {
@@ -301,8 +297,6 @@ unsafe impl GlobalAlloc for GrandAllocator {
assert!(index < GRAND_ALLOC_SIZE);
assert_eq!(diff % spacing, 0);
U32_GRAND_ALLOC.free(&mut pool[index]);
- #[cfg(_DEBUG_)]
- crate::println!("{:?}", diff/spacing);
});
}
5..=8 => {
@@ -313,8 +307,6 @@ unsafe impl GlobalAlloc for GrandAllocator {
assert!(index < GRAND_ALLOC_SIZE);
assert_eq!(diff % spacing, 0);
U64_GRAND_ALLOC.free(&mut pool[index]);
- #[cfg(_DEBUG_)]
- crate::println!("{:?}", diff/spacing);
});
}
9..=16 => {
@@ -325,8 +317,6 @@ unsafe impl GlobalAlloc for GrandAllocator {
assert!(index < GRAND_ALLOC_SIZE);
assert_eq!(diff % spacing, 0);
U128_GRAND_ALLOC.free(&mut pool[index]);
- #[cfg(_DEBUG_)]
- crate::println!("{:?}", diff/spacing);
});
}
17..=32 => {
@@ -337,8 +327,6 @@ unsafe impl GlobalAlloc for GrandAllocator {
assert!(index < GRAND_ALLOC_SIZE);
assert_eq!(diff % spacing, 0);
U256_GRAND_ALLOC.free(&mut pool[index]);
- #[cfg(_DEBUG_)]
- crate::println!("{:?}", diff/spacing);
});
}
_ => {