diff options
author | Jacek Sieka <arnetheduck@gmail.com> | 2016-08-25 23:04:44 +0800 |
---|---|---|
committer | Jacek Sieka <arnetheduck@gmail.com> | 2016-08-25 23:04:44 +0800 |
commit | 260e615017977592c4a165fc0289b5e77f182a64 (patch) | |
tree | 3d96d5aebf2e1e32afb1dcbe192449bb86ff5a03 /lib/system.nim | |
parent | db2f96daba9c04db2f24cb783c79fb37799cd9ea (diff) | |
download | Nim-260e615017977592c4a165fc0289b5e77f182a64.tar.gz |
simplify initallocator conditions
Diffstat (limited to 'lib/system.nim')
-rw-r--r-- | lib/system.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/system.nim b/lib/system.nim index 6af5dc01f..c97ccf4eb 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -2582,10 +2582,10 @@ else: when not defined(JS): #and not defined(nimscript): {.push stack_trace: off, profiler:off.} - when not defined(nimscript) and (not defined(nogc) or not defined(useMalloc)): + when not defined(nimscript): when not defined(gcStack): proc initGC() - when not defined(boehmgc) and not defined(gogc) and not defined(gcStack): + when not defined(boehmgc) and not defined(useMalloc) and not defined(gogc) and not defined(gcStack): proc initAllocator() {.inline.} proc initStackBottom() {.inline, compilerproc.} = |