From e26370268885718c6b48a9fa5e940fdc8b4df090 Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Thu, 14 Mar 2019 19:53:14 +0100 Subject: --newruntime: progress --- lib/system/mmdisp.nim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/system/mmdisp.nim') 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" -- cgit 1.4.1-2-gfad0