summary refs log tree commit diff stats
path: root/tests/arc
Commit message (Collapse)AuthorAgeFilesLines
* ARC now capable of custom extra alignment. Ref, closure and seq support. ↵cooldome2020-10-281-0/+146
| | | | (#15697)
* Revert "fixes #15280 [backport:1.2] (#15281)" (#15700)Clyybber2020-10-241-3/+3
| | | This reverts commit 3f00a738dbc8319b4dd2b86bf5529c096f2dd243.
* fix #15631 (#15632)n5m2020-10-192-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * trigger valgrind failure on memory leak * remove non-malloc tests * remove ORC test is redundant because we already have an ARC test * only run valgrind tests on 64-bit Linux * disable freebsd and openbsd * Remove tleak_refc As to not test implementation details (or bug) * Fix test failures by removing redundant test Since this tests/shoulfail/tvalgrind.nim was specified here to fail this test itself fails since it will be skipped on non-linux CI * Remove test, reason detailed in the previous commit * Remove redundant disables * Revert removing disables * Add and use valgrind: leaks * Fix Co-authored-by: Clyybber <darkmine956@gmail.com> Co-authored-by: n5m
* Fix #15599 (#15601)Clyybber2020-10-161-1/+13
| | | | | * Fix #15599 * Add test
* renamed '=' to '=copy' [backport:1.2] (#15585)Andreas Rumpf2020-10-156-7/+974
| | | | | | | | | * Assign hook name changed to `=copy` * Adapt destructors.rst * [nobackport] Duplicate tests for =copy hook * Fix tests * added a changelog entry Co-authored-by: Clyybber <darkmine956@gmail.com>
* harden the ORC asyncleak3 test case (#15580)Andreas Rumpf2020-10-152-1/+416
| | | | | * harden the ORC asyncleak3 test case * add another ORC stress test
* Fix 15543 (#15544)cooldome2020-10-121-1/+21
| | | | | | | | | * fix #15543 * fix spacing * fix test * simplify test for freebsd platform
* fixes #15532 (#15534)Andreas Rumpf2020-10-091-0/+21
|
* fix #15405. deepcopy arc (#15410)cooldome2020-10-012-2/+33
| | | | | | | * fix #15405 * fix tests * deepcopy for ARC has to be enabled via --deepcopy:on Co-authored-by: Araq <rumpf_a@web.de>
* cursor inference: makes combparser work; refactorings (#15411)Andreas Rumpf2020-09-262-2/+6
| | | | * cursor inference: makes combparser work; refactorings
* Revert "fix #15035 (#15236)" (#15408)cooldome2020-09-241-18/+1
| | | This reverts commit f8c48fc1863a243718acf86b699baed1a5c1512e.
* fixes #15361 (#15401)Andreas Rumpf2020-09-242-2/+55
| | | * fixes #15361; better cursor inference
* added a basic ORC test I still had lying around (#15376)Andreas Rumpf2020-09-201-0/+138
|
* arc: added tmarshal.nim test caseAraq2020-09-201-0/+140
|
* arc: =deepcopy fixesAraq2020-09-201-0/+67
|
* more ORC bugfixes (#15355)Andreas Rumpf2020-09-182-1/+47
| | | | | * introduced --define:nimArcIds * ORC: bugfixes
* Revert "Introduce explicit copy (#15330)" (#15346)Andreas Rumpf2020-09-161-22/+0
| | | This reverts commit a3e9cc52343a54cadc7b77b783e1c8b6ba2b327f.
* Introduce explicit copy (#15330)cooldome2020-09-161-0/+22
|
* fixes #15325 (#15340)Andreas Rumpf2020-09-161-0/+126
|
* fixes #15076 (#15329)Andreas Rumpf2020-09-151-0/+88
|
* fixes a critical ORC bug, refs #15076 (#15323)Andreas Rumpf2020-09-141-1/+1
|
* fixes #15147 (#15315)Andreas Rumpf2020-09-121-0/+21
|
* fixes #15122 (#15301)Andreas Rumpf2020-09-111-0/+43
|
* Fix #15286 (#15292)cooldome2020-09-101-0/+8
| | | | | * fix #15286 * fix spacing
* fixes #15280 [backport:1.2] (#15281)Andreas Rumpf2020-09-091-3/+3
| | | | | | | * fixes #15280 [backport:1.2] * make tests green again * adapt tests
* fix #15238 (#15262)cooldome2020-09-041-1/+17
| | | | | * fix_15238 * fix test
* fix #15035 (#15236)cooldome2020-08-281-0/+16
|
* fixes #15130 (#15141)Andreas Rumpf2020-08-011-2/+75
| | | | | * fixes #15130 * you really have to copy from cursors
* fixes #15122 [backport:1.2] (#15139)Andreas Rumpf2020-08-011-0/+28
|
* cursor and mutation tracking fixes (#15113)Andreas Rumpf2020-07-302-5/+59
| | | | | | | | * fixes #15110 * fixes #15096 * prepare varpartitions for cursor inference * new cursor inference begins to work * make tests green
* disable sink inference, only enable it for the stdlib. Reason: better source ↵Andreas Rumpf2020-07-281-0/+1
| | | | code compatibility (#15105)
* fixes #15076 (#15095)Andreas Rumpf2020-07-271-0/+21
|
* fixes a closure iterator memory leaks, progress on #15076Araq2020-07-271-0/+36
|
* fixes #15038 [backport:1.2]Andreas Rumpf2020-07-261-0/+26
|
* fixes #15052Andreas Rumpf2020-07-261-0/+11
|
* Add a test-case for #12990 (#15072)Danil Yarantsev2020-07-252-2/+16
| | | | * closes #12990 * Add a test-case for #12990
* fixes #15044 [backport:1.2]Andreas Rumpf2020-07-231-0/+18
|
* Add a testcase for #14480. Fixes #14480 (#15037)Danil Yarantsev2020-07-221-0/+7
|
* cursor inference bugfixAndreas Rumpf2020-07-201-2/+62
|
* arc: cursors for simple for loop variables (#15008)Andreas Rumpf2020-07-172-4/+29
| | | | | * arc: cursors for simple for loop variables * merged devel
* Show that a variable is cursor in --expandArc (#15002)Clyybber2020-07-172-12/+12
|
* Fix #14994 (#14996)Clyybber2020-07-151-0/+14
| | | | | | | * Fix #14994 * Revert misplaced "optimization" * Typo
* An optimizer for ARC (#14962)Andreas Rumpf2020-07-156-0/+884
| | | | | | | | | | | | | | | | | | | | * WIP: an optimizer for ARC * do not optimize away destructors in 'finally' if unstructured control flow is involved * optimized the optimizer * minor code cleanup * first steps to .cursor inference * cursor inference: big steps to a working solution * baby steps * better .cursor inference * new feature: expandArc for easy inspection of the AST after ARC transformations * added topt_cursor test * adapt tests * cleanups, make tests green * optimize common traversal patterns * moved test case * fixes .cursor inference so that npeg compiles once again * cursor inference: more bugfixes Co-authored-by: Clyybber <darkmine956@gmail.com>
* repr_v2 improvements (#14992)Clyybber2020-07-151-0/+6
| | | | | | | * Support proc in arc repr * Typo * Improve repr for strings and chars
* Fix #14985 (#14988)Clyybber2020-07-151-0/+30
|
* injectdestructors fixes and refactor (#14964)Clyybber2020-07-143-4/+207
| | | | | | | | | | | | | | | | | | | | | | | | | | | * injectdestructors fixes and refactor * Tiny cleanup * Refactor and expand testcase * Closes #14902 by adding testcase * Better naming * Fix test failures * Misc cleanup * Add testcase for #14968 * Better approach; expand testcases * Optimizations and fixes * Add testcase * typo * Tiny cleanup
* Add testcase for #14383 (#14957)Clyybber2020-07-102-0/+36
|
* fixes #14900, this time for real, maybe (#14934)Andreas Rumpf2020-07-081-17/+11
|
* fixes #14900Araq2020-07-081-0/+20
|
* fixes #14899Araq2020-07-081-0/+14
|
e> 2012-04-13 18:36:55 +0200 committer Araq <rumpf_a@web.de> 2012-04-13 18:36:55 +0200 performance improvements for ropes' href='/ahoang/Nim/commit/compiler/ropes.nim?h=devel&id=fe750a5cf94dca73547e6170928ed53d5f55c15d'>fe750a5cf ^
959e370ae ^
438703f59 ^
e25474154 ^
a9ef5bf45 ^
ff914b89d ^
bcdb5b083 ^


a9ef5bf45 ^
ff914b89d ^
bcdb5b083 ^

a9ef5bf45 ^
80ee28daf ^









a9ef5bf45 ^
ff914b89d ^
bcdb5b083 ^
80ee28daf ^
a9ef5bf45 ^
ff914b89d ^
bcdb5b083 ^
80ee28daf ^
a9ef5bf45 ^
ff914b89d ^
80ee28daf ^

a9ef5bf45 ^
ff914b89d ^
80ee28daf ^

a9ef5bf45 ^
ff914b89d ^
80ee28daf ^

ff914b89d ^




















e25474154 ^
a9ef5bf45 ^
2f43fdb83 ^
869a5aa90 ^
92b8fac94 ^
e25474154 ^
869a5aa90 ^
2df9b442c ^
e25474154 ^
ff914b89d ^












f644e3079 ^


c446806f7 ^
f644e3079 ^
39049e151 ^
064417fc5 ^

e25474154 ^
064417fc5 ^
91f42a294 ^
a541be893 ^
e25474154 ^

a541be893 ^
91f42a294 ^
e25474154 ^
a541be893 ^
e25474154 ^
91f42a294 ^
e25474154 ^
a541be893 ^
064417fc5 ^
a541be893 ^
91f42a294 ^
e25474154 ^
d7a42641a ^
e25474154 ^
d0edb1826 ^
2df9b442c ^
b0c11d3ef ^
91f42a294 ^
aafbe5c86 ^


0f131b9f4 ^
aafbe5c86 ^


0f131b9f4 ^
aafbe5c86 ^





0b197ade6 ^
91f42a294 ^

fe750a5cf ^
91f42a294 ^
e25474154 ^
d0edb1826 ^
2df9b442c ^
064417fc5 ^
fe750a5cf ^


a541be893 ^
91f42a294 ^
438703f59 ^
e25474154 ^
39049e151 ^
ff914b89d ^
91f42a294 ^

027f30610 ^
39049e151 ^
027f30610 ^

a9ef5bf45 ^
027f30610 ^

39049e151 ^
027f30610 ^

f644e3079 ^
a541be893 ^
e25474154 ^

ff914b89d ^

d68181246 ^
ff914b89d ^


ff3cf001a ^

ff914b89d ^



ff3cf001a ^
ff914b89d ^
171996465 ^



ff3cf001a ^
171996465 ^


ff914b89d ^


171996465 ^

ff914b89d ^
171996465 ^
171996465 ^
ff3cf001a ^

171996465 ^
a9ef5bf45 ^
ff914b89d ^

171996465 ^

a541be893 ^
171996465 ^

e25474154 ^
a9ef5bf45 ^
e25474154 ^
171996465 ^
e25474154 ^

a541be893 ^
e25474154 ^
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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356