Searched refs:MemBase (Results 1 – 2 of 2) sorted by relevance
116 void *MemBase = malloc(Size + Alignment - 1 + sizeof(void*)); in Allocate() local119 MemSlab *Slab = (MemSlab*)(((uintptr_t)MemBase+sizeof(void*)+Alignment-1) & in Allocate()125 ((void**)Slab)[-1] = MemBase; in Allocate()
394 char *MemBase = (char*)(B.base()); in allocateNewCodeSlab() local399 (MemoryRangeHeader*)(MemBase + B.size()) - 1; in allocateNewCodeSlab()405 FreeRangeHeader *NewBlock = (FreeRangeHeader*)MemBase; in allocateNewCodeSlab()609 uint8_t *MemBase = (uint8_t*)MemBlock.base(); in DefaultJITMemoryManager() local623 MemoryRangeHeader *Mem3 = (MemoryRangeHeader*)(MemBase+MemBlock.size())-1; in DefaultJITMemoryManager()647 FreeRangeHeader *Mem0 = (FreeRangeHeader*)MemBase; in DefaultJITMemoryManager()