diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2019-03-14 19:53:14 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2019-03-14 19:53:27 +0100 |
commit | e26370268885718c6b48a9fa5e940fdc8b4df090 (patch) | |
tree | f5d3882b85c3a1049aa55338d70ce7a213ee8ce9 /lib/system/mmdisp.nim | |
parent | f1a945b05f307178c86f8948c33358b48905dac4 (diff) | |
download | Nim-e26370268885718c6b48a9fa5e940fdc8b4df090.tar.gz |
--newruntime: progress
Diffstat (limited to 'lib/system/mmdisp.nim')
-rw-r--r-- | lib/system/mmdisp.nim | 3 |
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" |