Remove asserts

This commit is contained in:
Jeremy Soller
2018-04-03 19:52:50 -06:00
parent 5b1e11d1b1
commit 3f627b1b40
-3
View File
@@ -311,9 +311,6 @@ pub extern "C" fn lrand48() -> c_long {
}
unsafe fn malloc_inner(size: usize, offset: usize, align: usize) -> *mut c_void {
assert!(offset >= 16);
assert!(align >= 8);
let ptr = ralloc::alloc(size + offset, align);
if !ptr.is_null() {
*(ptr as *mut u64) = (size + offset) as u64;