summary refs log tree commit diff stats
path: root/lib/system/mmdisp.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2019-03-14 19:53:14 +0100
committerAndreas Rumpf <rumpf_a@web.de>2019-03-14 19:53:27 +0100
commite26370268885718c6b48a9fa5e940fdc8b4df090 (patch)
treef5d3882b85c3a1049aa55338d70ce7a213ee8ce9 /lib/system/mmdisp.nim
parentf1a945b05f307178c86f8948c33358b48905dac4 (diff)
downloadNim-e26370268885718c6b48a9fa5e940fdc8b4df090.tar.gz
--newruntime: progress
Diffstat (limited to 'lib/system/mmdisp.nim')
-rw-r--r--lib/system/mmdisp.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/system/mmdisp.nim b/lib/system/mmdisp.nim
index a2cddc472..905fdcc94 100644
--- a/lib/system/mmdisp.nim
+++ b/lib/system/mmdisp.nim
@@ -497,7 +497,8 @@ else:
     # XXX due to bootstrapping reasons, we cannot use  compileOption("gc", "stack") here
     include "system/gc_regions"
   elif defined(nimV2):
-    include "core/runtime_v2"
+    var allocator {.rtlThreadVar.}: MemRegion
+    instantiateForRegion(allocator)
   elif defined(gcMarkAndSweep) or defined(gcDestructors):
     # XXX use 'compileOption' here
     include "system/gc_ms"