simple stuff works with --gc:stack

This commit is contained in:
Andreas Rumpf 2016-04-18 11:40:06 +02:00
commit 79f64d2469
4 changed files with 272 additions and 212 deletions

View file

@ -511,11 +511,12 @@ elif defined(nogc):
include "system/cellsets"
else:
include "system/alloc"
when not defined(gcStack):
include "system/alloc"
include "system/cellsets"
when not leakDetector and not useCellIds:
sysAssert(sizeof(Cell) == sizeof(FreeCell), "sizeof FreeCell")
include "system/cellsets"
when not leakDetector and not useCellIds:
sysAssert(sizeof(Cell) == sizeof(FreeCell), "sizeof FreeCell")
when compileOption("gc", "v2"):
include "system/gc2"
elif defined(gcStack):