keep initStackBottom calls please

This commit is contained in:
Araq
2012-08-02 23:21:58 +02:00
parent e2359aba44
commit 3c50794a08
2 changed files with 2 additions and 0 deletions

View File

@@ -1935,6 +1935,7 @@ when not defined(EcmaScript) and not defined(NimrodVM):
include "system/syslocks"
include "system/threads"
elif not defined(nogc):
when not defined(useNimRtl) and not defined(createNimRtl): initStackBottom()
initGC()
proc setControlCHook*(hook: proc () {.noconv.})

View File

@@ -203,6 +203,7 @@ when not defined(useNimRtl):
when not useStackMaskHack:
var mainThread: TGcThread
ThreadVarSetValue(globalsSlot, addr(mainThread))
when not defined(createNimRtl): initStackBottom()
initGC()
when emulatedThreadVars: