summary refs log tree commit diff stats
path: root/compiler/nim.nim
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 /compiler/nim.nim
parent6391f6e861d4c1dc87a94861374973b809f0d09f (diff)
downloadNim-f561afae419212e6eeb33f37f834aa7e9d4b9d6f.tar.gz
followup #17225: simplify code after removing gc2, generational (#17242)
Diffstat (limited to 'compiler/nim.nim')
-rw-r--r--compiler/nim.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/nim.nim b/compiler/nim.nim
index 5ec891816..df06a83a9 100644
--- a/compiler/nim.nim
+++ b/compiler/nim.nim
@@ -116,7 +116,7 @@ proc handleCmdLine(cache: IdentCache; conf: ConfigRef) =
 when declared(GC_setMaxPause):
   GC_setMaxPause 2_000
 
-when compileOption("gc", "v2") or compileOption("gc", "refc"):
+when compileOption("gc", "refc"):
   # the new correct mark&sweet collector is too slow :-/
   GC_disableMarkAndSweep()