Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert "fix #15035 (#15236)" (#15408) | cooldome | 2020-09-24 | 1 | -3/+2 |
| | | | This reverts commit f8c48fc1863a243718acf86b699baed1a5c1512e. | ||||
* | Revert "Introduce explicit copy (#15330)" (#15346) | Andreas Rumpf | 2020-09-16 | 1 | -1/+1 |
| | | | This reverts commit a3e9cc52343a54cadc7b77b783e1c8b6ba2b327f. | ||||
* | Introduce explicit copy (#15330) | cooldome | 2020-09-16 | 1 | -1/+1 |
| | |||||
* | fixes #15325 (#15340) | Andreas Rumpf | 2020-09-16 | 1 | -1/+2 |
| | |||||
* | Fix #15286 (#15292) | cooldome | 2020-09-10 | 1 | -0/+3 |
| | | | | | * fix #15286 * fix spacing | ||||
* | Big compiler Cleanup (#14777) | Clyybber | 2020-08-28 | 1 | -3/+3 |
| | |||||
* | fix #15035 (#15236) | cooldome | 2020-08-28 | 1 | -2/+3 |
| | |||||
* | cursor and mutation tracking fixes (#15113) | Andreas Rumpf | 2020-07-30 | 1 | -2/+2 |
| | | | | | | | | * fixes #15110 * fixes #15096 * prepare varpartitions for cursor inference * new cursor inference begins to work * make tests green | ||||
* | fixes #15076 (#15095) | Andreas Rumpf | 2020-07-27 | 1 | -13/+20 |
| | |||||
* | fixes a closure iterator memory leaks, progress on #15076 | Araq | 2020-07-27 | 1 | -1/+1 |
| | |||||
* | fixes #15038 [backport:1.2] | Andreas Rumpf | 2020-07-26 | 1 | -46/+1 |
| | |||||
* | fixes #15036 | Andreas Rumpf | 2020-07-23 | 1 | -2/+0 |
| | |||||
* | arc: cursors for simple for loop variables (#15008) | Andreas Rumpf | 2020-07-17 | 1 | -1/+1 |
| | | | | | * arc: cursors for simple for loop variables * merged devel | ||||
* | Show that a variable is cursor in --expandArc (#15002) | Clyybber | 2020-07-17 | 1 | -6/+5 |
| | |||||
* | An optimizer for ARC (#14962) | Andreas Rumpf | 2020-07-15 | 1 | -26/+28 |
| | | | | | | | | | | | | | | | | | | | | * 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> | ||||
* | Fix #14985 (#14988) | Clyybber | 2020-07-15 | 1 | -2/+2 |
| | |||||
* | injectdestructors fixes and refactor (#14964) | Clyybber | 2020-07-14 | 1 | -192/+109 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | fixes a minor regression | Araq | 2020-07-10 | 1 | -1/+1 |
| | |||||
* | fixes the tcontrolflow regression, clen idea of an escaping expression | Araq | 2020-07-10 | 1 | -20/+44 |
| | |||||
* | no wasMoved() calls after destructors necessary | Araq | 2020-07-10 | 1 | -6/+6 |
| | |||||
* | optimize sinks even when in a loop | Araq | 2020-07-10 | 1 | -23/+12 |
| | |||||
* | Move `wasMoved` out of `=destroy` | Clyybber | 2020-07-10 | 1 | -5/+5 |
| | |||||
* | Cosmetics | Clyybber | 2020-07-10 | 1 | -52/+51 |
| | |||||
* | Make arc compile laser again | Clyybber | 2020-07-08 | 1 | -1/+1 |
| | |||||
* | fixes #14900, this time for real, maybe (#14934) | Andreas Rumpf | 2020-07-08 | 1 | -2/+8 |
| | |||||
* | fixes #14900 | Araq | 2020-07-08 | 1 | -38/+42 |
| | |||||
* | fixes #14899 | Araq | 2020-07-08 | 1 | -4/+37 |
| | |||||
* | progress | Araq | 2020-07-08 | 1 | -17/+33 |
| | |||||
* | injectdestructors: refactoring, added more cases explicitly (#14929) | Andreas Rumpf | 2020-07-07 | 1 | -7/+68 |
| | |||||
* | scoped memory management (#14790) | Andreas Rumpf | 2020-07-04 | 1 | -416/+301 |
| | | | | | | | * fixes the regressions * closes #13936 * scope based memory management implemented * enabled tcontrolflow.nim test case * final cleanups | ||||
* | DFA and injectdestructors cleanup (#14824) | Clyybber | 2020-06-28 | 1 | -22/+26 |
| | | | | | | | | | | | | | | | * DFA and injectdestructors cleanup * More precise write analysis * Cleanup obsoleted path * Unify defInstrTargets and useInstrTargets * Misc cleanups * Nicer CFG printing * Misc cleanups 2 | ||||
* | Fix #14568 (#14583) | Clyybber | 2020-06-07 | 1 | -23/+23 |
| | | | | | | | * Fix #14568 * Add testcase * Fix bogus test * Adapt other failing tests * Declarations are always first writes | ||||
* | fixes #14118 (#14595) | Andreas Rumpf | 2020-06-07 | 1 | -1/+4 |
| | |||||
* | more checking for --gc:arc, no need for valgrind (#14467) | Andreas Rumpf | 2020-05-29 | 1 | -0/+2 |
| | | | | * sigmatch: removed dead code | ||||
* | New "ping-pong" DFA (#14322) | Clyybber | 2020-05-15 | 1 | -32/+38 |
| | | | | | | | | | | | | | | | | | * New ping-pong analysis * Add testcase for #13456 * Remove debugging leftover * Unquote "unstructured controlflow" * Fix typo * Fix exponential complexity in edge cases * Add sanity testcase * Fix | ||||
* | fix detecting closure env for nested asts (#14326) | b3liever | 2020-05-12 | 1 | -3/+3 |
| | | | Co-authored-by: b3liever <b3liever@yandex.com> | ||||
* | fix #14219 (#14225) | cooldome | 2020-05-11 | 1 | -1/+1 |
| | | | Co-authored-by: cooldome <ariabushenko@bk.ru> | ||||
* | small refactoring (#14303) | b3liever | 2020-05-11 | 1 | -3/+4 |
| | | | Co-authored-by: Antonis <b3liever@yandex.com> | ||||
* | better error message | Antonis | 2020-05-11 | 1 | -1/+1 |
| | |||||
* | fix closure env check | Antonis | 2020-05-11 | 1 | -1/+2 |
| | |||||
* | Fix the DFA for "unstructured controlflow" (#14263) | Clyybber | 2020-05-07 | 1 | -6/+2 |
| | | | | | * Fix the DFA for "unstructured controlflow" * Add testcase from #14233 | ||||
* | destructors: don't produce stupid code for 'cast' (#14208) [backport:1.2] | Andreas Rumpf | 2020-05-04 | 1 | -2/+6 |
| | | | | | * destructors: don't produce stupid code for 'cast' * fixes #14207 | ||||
* | Step2: fixes #13781, fixes #13805 (#13897) | cooldome | 2020-04-16 | 1 | -4/+9 |
| | | | | | | | | | * Fix sym owner in wrapper proc * threadpool changes * revert lowerings * add newFastMoveStmt * try fixing test by switching to cpp Co-authored-by: cooldome <ariabushenko@bk.ru> | ||||
* | Implements RFCs #209 (#13995) | cooldome | 2020-04-16 | 1 | -16/+57 |
| | | | | | * add test * add changelod entry Co-authored-by: cooldome <ariabushenko@bk.ru> | ||||
* | fixes #13722 (#13729) | Andreas Rumpf | 2020-03-23 | 1 | -1/+1 |
| | | | | | * fixes #13722 * better fix | ||||
* | disable even more of scope based destruction handling; fixes #13709 | Araq | 2020-03-23 | 1 | -7/+98 |
| | |||||
* | fixes #13691 (#13694) | Andreas Rumpf | 2020-03-19 | 1 | -2/+5 |
| | |||||
* | arc optimizations (#13325) | Andreas Rumpf | 2020-03-18 | 1 | -81/+240 |
| | | | | | * scope based destructors * handle 'or' and 'and' expressions properly, see the new test arc/tcontrolflow.nim * make this branch mergable, logic is disabled for now | ||||
* | fixes #13622 (#13679) | Andreas Rumpf | 2020-03-18 | 1 | -2/+4 |
| | |||||
* | Fixes #13659 (#13674) | cooldome | 2020-03-17 | 1 | -2/+2 |
| | | | | | * fixes #13659 Co-authored-by: cooldome <ariabushenko@bk.ru> |