simplify initallocator conditions

This commit is contained in:
Jacek Sieka
2016-08-25 23:04:44 +08:00
parent db2f96daba
commit 260e615017

View File

@@ -2582,10 +2582,10 @@ else:
when not defined(JS): #and not defined(nimscript):
{.push stack_trace: off, profiler:off.}
when not defined(nimscript) and (not defined(nogc) or not defined(useMalloc)):
when not defined(nimscript):
when not defined(gcStack):
proc initGC()
when not defined(boehmgc) and not defined(gogc) and not defined(gcStack):
when not defined(boehmgc) and not defined(useMalloc) and not defined(gogc) and not defined(gcStack):
proc initAllocator() {.inline.}
proc initStackBottom() {.inline, compilerproc.} =