Skip to content
Permalink
Browse files

Killed two assertions.

  • Loading branch information
emeryberger committed Jan 12, 2020
1 parent 7c841c8 commit 928c064966fd79f18c5abf89a88969a29d08d262
Showing with 2 additions and 2 deletions.
  1. +2 −2 heaps/special/zoneheap.h
@@ -75,7 +75,7 @@ namespace HL {

inline void * malloc (size_t sz) {
void * ptr = zoneMalloc (sz);
assert ((size_t) ptr % Alignment == 0);
// assert ((size_t) ptr % Alignment == 0);
return ptr;
}

@@ -121,7 +121,7 @@ namespace HL {
ptr = _currentArena->arenaSpace;
_currentArena->arenaSpace += sz;
assert (ptr != NULL);
assert ((size_t) ptr % SuperHeap::Alignment == 0);
// assert ((size_t) ptr % SuperHeap::Alignment == 0);
return ptr;
}

0 comments on commit 928c064

Please sign in to comment.
You can’t perform that action at this time.