one more fix condition
This commit is contained in:
parent
260e615017
commit
a65b44cae9
1 changed files with 3 additions and 3 deletions
|
|
@ -2582,10 +2582,11 @@ else:
|
||||||
when not defined(JS): #and not defined(nimscript):
|
when not defined(JS): #and not defined(nimscript):
|
||||||
{.push stack_trace: off, profiler:off.}
|
{.push stack_trace: off, profiler:off.}
|
||||||
|
|
||||||
when not defined(nimscript):
|
when hasAlloc:
|
||||||
when not defined(gcStack):
|
when not defined(gcStack):
|
||||||
proc initGC()
|
proc initGC()
|
||||||
when not defined(boehmgc) and not defined(useMalloc) 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 initAllocator() {.inline.}
|
||||||
|
|
||||||
proc initStackBottom() {.inline, compilerproc.} =
|
proc initStackBottom() {.inline, compilerproc.} =
|
||||||
|
|
@ -2603,7 +2604,6 @@ when not defined(JS): #and not defined(nimscript):
|
||||||
when declared(setStackBottom):
|
when declared(setStackBottom):
|
||||||
setStackBottom(locals)
|
setStackBottom(locals)
|
||||||
|
|
||||||
when hasAlloc:
|
|
||||||
var
|
var
|
||||||
strDesc = TNimType(size: sizeof(string), kind: tyString, flags: {ntfAcyclic})
|
strDesc = TNimType(size: sizeof(string), kind: tyString, flags: {ntfAcyclic})
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue