summary refs log tree commit diff stats
path: root/compiler/nimrod.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2013-01-31 17:24:55 +0100
committerAraq <rumpf_a@web.de>2013-01-31 17:24:55 +0100
commit65fdd641a9cf72be36af750a70245ebc1f16bf21 (patch)
tree1c7d5bdee6645b7c7da531ca80c89b4d4401af5f /compiler/nimrod.nim
parent2a2b6307578e481b125d5315893044f4dea81039 (diff)
downloadNim-65fdd641a9cf72be36af750a70245ebc1f16bf21.tar.gz
revert to old GC; use --gc:v2 to activate the new GC
Diffstat (limited to 'compiler/nimrod.nim')
-rwxr-xr-xcompiler/nimrod.nim7
1 files changed, 4 insertions, 3 deletions
diff --git a/compiler/nimrod.nim b/compiler/nimrod.nim
index 6c999128c..5b67a10ac 100755
--- a/compiler/nimrod.nim
+++ b/compiler/nimrod.nim
@@ -69,11 +69,12 @@ proc HandleCmdLine() =
             changeFileExt(gProjectFull, exeExt).prependCurDir)
           execExternalProgram(ex & ' ' & service.arguments)
 
-#GC_disableMarkAndSweep()
-
 when defined(GC_setMaxPause):
   GC_setMaxPause 2_000
-GC_disableMarkAndSweep()
+
+when compileOption("gc", "v2"):
+  # the new correct mark&sweet collector is too slow :-/
+  GC_disableMarkAndSweep()
 condsyms.InitDefines()
 HandleCmdLine()
 quit(options.gExitcode)
-07 01:23:19 +0100 version 0.8.5: added Nimrod version of the compiler' href='/ahoang/Nim/commit/rod/nimrod.nim?h=devel&id=e254741541b0389dfb0b675116c76a6a144b90b7'>e25474154 ^
a9b62de89 ^
dda6f3f6d ^
ca4b971bc ^
f530bbd63 ^


d43febf81 ^
214c7a2eb ^

39cabcdd2 ^
18a3833d6 ^


206a4cee7 ^



18a3833d6 ^



c94647aec ^
d55cc0888 ^
206a4cee7 ^

d55cc0888 ^

206a4cee7 ^
d55cc0888 ^
f115e40e6 ^
18a3833d6 ^




d55cc0888 ^
206a4cee7 ^
18a3833d6 ^

73c306258 ^
52829fc8d ^
18a3833d6 ^

342e50e26 ^
ed0cb7b85 ^

349217849 ^
ed0cb7b85 ^

73919e308 ^
7072e3ddc ^
ed0cb7b85 ^


349217849 ^
7815ed69d ^
c1664f93b ^
349217849 ^
bd90199a2 ^
ed0cb7b85 ^


52829fc8d ^
93cd98dd1 ^
ed0cb7b85 ^
dda6f3f6d ^
dda6f3f6d ^
52829fc8d ^
9502e39b6 ^


a4e6b242d ^



9502e39b6 ^
a4e6b242d ^

9502e39b6 ^
a4e6b242d ^
52829fc8d ^
dda6f3f6d ^



dda6f3f6d ^


e25474154 ^
dd806cafa ^
4aba7421f ^
65fdd641a ^
f561afae4 ^
65fdd641a ^

1e26047c3 ^

342e50e26 ^

7349d12e9 ^

342e50e26 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131