summary refs log tree commit diff stats
path: root/tests/arc
Commit message (Collapse)AuthorAgeFilesLines
* fix #15609 (#15856)cooldome2020-11-051-0/+33
| | | | | * fix #15609 * fix test
* 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
|