summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2020-05-13 18:01:00 +0200
committerAndreas Rumpf <rumpf_a@web.de>2020-05-13 23:56:40 +0200
commit8a339d11787ab782557cf87fc2e4709fbff96a01 (patch)
tree0f319670b83620e28de7f7ea64091cca7f9831c3 /lib
parentf3e17e7c776dff9c4557fabe97694612fa86d237 (diff)
downloadNim-8a339d11787ab782557cf87fc2e4709fbff96a01.tar.gz
fixes #13862
Diffstat (limited to 'lib')
-rw-r--r--lib/system/mmdisp.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/mmdisp.nim b/lib/system/mmdisp.nim
index 1cdf37604..5cdac2991 100644
--- a/lib/system/mmdisp.nim
+++ b/lib/system/mmdisp.nim
@@ -83,7 +83,7 @@ else:
 
     when not usesDestructors:
       include "system/cellsets"
-    when not leakDetector and not useCellIds:
+    when not leakDetector and not useCellIds and not defined(nimV2):
       sysAssert(sizeof(Cell) == sizeof(FreeCell), "sizeof FreeCell")
   when compileOption("gc", "v2"):
     include "system/gc2"