summary refs log tree commit diff stats
path: root/drnim
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2021-03-03 04:37:42 -0800
committerGitHub <noreply@github.com>2021-03-03 13:37:42 +0100
commitf561afae419212e6eeb33f37f834aa7e9d4b9d6f (patch)
tree4855556cbfe11d74af7edf0404c57c65a9fd08f1 /drnim
parent6391f6e861d4c1dc87a94861374973b809f0d09f (diff)
downloadNim-f561afae419212e6eeb33f37f834aa7e9d4b9d6f.tar.gz
followup #17225: simplify code after removing gc2, generational (#17242)
Diffstat (limited to 'drnim')
-rw-r--r--drnim/drnim.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/drnim/drnim.nim b/drnim/drnim.nim
index f2a20fa62..44eab8625 100644
--- a/drnim/drnim.nim
+++ b/drnim/drnim.nim
@@ -1271,7 +1271,7 @@ proc handleCmdLine(cache: IdentCache; conf: ConfigRef) =
   mainCommand(graph)
   if conf.hasHint(hintGCStats): echo(GC_getStatistics())
 
-when compileOption("gc", "v2") or compileOption("gc", "refc"):
+when compileOption("gc", "refc"):
   # the new correct mark&sweep collector is too slow :-/
   GC_disableMarkAndSweep()