summary refs log tree commit diff stats
path: root/lib/system/sysstr.nim
diff options
context:
space:
mode:
authorJacek Sieka <arnetheduck@gmail.com>2016-04-26 21:25:57 +0800
committerJacek Sieka <arnetheduck@gmail.com>2016-04-26 21:25:57 +0800
commitba1a52614b3feccaadadebf45cf897192902ed4d (patch)
treecd66f3d4ba01d25499aa452e68cd34c192804e9c /lib/system/sysstr.nim
parenta2501321c39a89fb0bad52dcb8ef7c974d4ae5d2 (diff)
parente31ec746b96ef185d9f5fa6276518949fa889e5a (diff)
downloadNim-ba1a52614b3feccaadadebf45cf897192902ed4d.tar.gz
Merge remote-tracking branch 'origin/devel' into malloc-store-size
Diffstat (limited to 'lib/system/sysstr.nim')
-rw-r--r--lib/system/sysstr.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/system/sysstr.nim b/lib/system/sysstr.nim
index e2137e8f4..f8b93a2c3 100644
--- a/lib/system/sysstr.nim
+++ b/lib/system/sysstr.nim
@@ -228,7 +228,8 @@ proc setLengthSeq(seq: PGenericSeq, elemSize, newLen: int): PGenericSeq {.
   elif newLen < result.len:
     # we need to decref here, otherwise the GC leaks!
     when not defined(boehmGC) and not defined(nogc) and
-         not defined(gcMarkAndSweep) and not defined(gogc):
+         not defined(gcMarkAndSweep) and not defined(gogc) and
+         not defined(gcStack):
       when false: # compileOption("gc", "v2"):
         for i in newLen..result.len-1:
           let len0 = gch.tempStack.len