From f561afae419212e6eeb33f37f834aa7e9d4b9d6f Mon Sep 17 00:00:00 2001 From: Timothee Cour Date: Wed, 3 Mar 2021 04:37:42 -0800 Subject: followup #17225: simplify code after removing gc2, generational (#17242) --- compiler/nim.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/nim.nim') 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() -- cgit 1.4.1-2-gfad0