allocator: fixes regression: get alignment right for small objects

This commit is contained in:
Araq
2017-01-31 21:21:08 +01:00
parent d12a5a6525
commit b3e55e532b

View File

@@ -62,6 +62,8 @@ type
freeList: ptr FreeCell
free: int # how many bytes remain
acc: int # accumulator for small object allocation
when defined(cpu32):
align: int
data: AlignType # start of usable memory
BigChunk = object of BaseChunk # not necessarily > PageSize!