summary refs log tree commit diff stats
path: root/lib/system
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2012-06-24 20:00:25 +0200
committerAraq <rumpf_a@web.de>2012-06-24 20:00:25 +0200
commitee98c76d2e43eb2ff8e9bae38ac66f84bba6fb28 (patch)
tree800cb42d7d4ae1522f17e1a664eb0585e322f2d4 /lib/system
parent776920dc7140550706117cd3ab3ebaed91ea1748 (diff)
downloadNim-ee98c76d2e43eb2ff8e9bae38ac66f84bba6fb28.tar.gz
bite the bullet and make 'initStackBottom' a compilerproc
Diffstat (limited to 'lib/system')
-rwxr-xr-xlib/system/gc.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/system/gc.nim b/lib/system/gc.nim
index ea30754a6..d2f756cd7 100755
--- a/lib/system/gc.nim
+++ b/lib/system/gc.nim
@@ -639,6 +639,7 @@ when not defined(useNimRtl):
     else:
       var a = cast[TAddress](theStackBottom) # and not PageMask - PageSize*2
       var b = cast[TAddress](gch.stackBottom)
+      #c_fprintf(c_stdout, "old: %p new: %p;\n",gch.stackBottom,theStackBottom)
       when stackIncreases:
         gch.stackBottom = cast[pointer](min(a, b))
       else: