summary refs log tree commit diff stats
path: root/compiler/injectdestructors.nim
Commit message (Collapse)AuthorAgeFilesLines
* fixes #11577Araq2019-06-261-11/+17
|
* [bugfix] fixes #11524Andreas Rumpf2019-06-221-2/+29
|
* wipAraq2019-06-201-1/+1
|
* WIP: closures for the newruntime [ci skip]Andreas Rumpf2019-06-201-1/+1
|
* [bugfix] owned closures (#11544)Andreas Rumpf2019-06-201-6/+8
|
* fixes move analyser; refs #11257Araq2019-05-241-5/+5
|
* Fix destructor injections for global variables (#11230)Clyybber2019-05-131-8/+22
| | | | | | | | * attach global destructors at end of mainModule * Add testcase * Minor cleanup * Inject topLevelVar temporaries' destructors early * Fix megatest
* fixes #11204 (#11207)cooldome2019-05-091-0/+1
|
* Destructor lifting fixes #11149 (#11163)cooldome2019-05-041-1/+1
| | | | | | * fixes #11149 * add test
* introduce temporary <//> for 'owned' to get this compile with 0.19 (#11145)Andreas Rumpf2019-05-021-6/+8
| | | | | | | | * introduce temporary <//> for 'owned' to get this compile with 0.19 * make newTable[string, owned Node]() compile (but it crashes) * make sink/owned parameters consistent * make actiontable test compile again * VM: support sytem.move; makes tests green
* make twidgets example green (#11135)Andreas Rumpf2019-04-281-3/+7
|
* newruntime: progress...Andreas Rumpf2019-04-271-5/+3
|
* preparations to make the twidgets test workAraq2019-04-261-9/+13
|
* introduce a special typing rule that makes seq[owned ref T] easier to use; ↵Araq2019-04-251-3/+12
| | | | remains to be investigated...
* fixes #11095 (#11104)Andreas Rumpf2019-04-251-3/+7
| | | * fixes #11095
* move analyser is smarter; refs #11053Andreas Rumpf2019-04-191-8/+13
|
* destructors: internal compiler refactoringAraq2019-04-181-12/+22
|
* injectdestructors.nim: code cleanupsAraq2019-04-161-47/+7
|
* dfa.nim: track object/tuple field accesses more precisely; sink(o.x); ↵Araq2019-04-161-23/+37
| | | | sink(o.y) needs to compile; activate the tuple unpacking transf.nim bugfix
* fix reraise (#11017)cooldome2019-04-131-1/+1
|
* make koch.nim compile with --newruntime. Again.Araq2019-04-121-3/+16
|
* preparations for --newruntime owned refs/callbacksAraq2019-04-111-10/+10
|
* newruntime: raising an exception works but currently leaks memory because ↵Araq2019-04-101-4/+16
| | | | currentException global is not an 'owned' ref
* newruntime: fixes another bugAraq2019-04-101-0/+3
|
* koch.nim compiles with --newruntimeAraq2019-04-091-3/+7
|
* make 'raise' statement work with --newruntimeAraq2019-04-091-6/+27
|
* compute sinks/assignments properly for for-loop iteration variablesAraq2019-04-081-1/+1
|
* an owned ref parameter behaves as a 'sink' parameterAndreas Rumpf2019-04-071-8/+5
|
* destructors: we are cooking nowAraq2019-04-061-2/+16
|
* destructors: progressAndreas Rumpf2019-04-051-7/+8
|
* newruntime: bugfixesAndreas Rumpf2019-03-251-1/+4
|
* more destructor based changes (#10885)Andreas Rumpf2019-03-231-0/+761
* mark user defined destructors with sfOverriden to simplify the logic * refactoring in preparation to merge liftings and generic instantiations for destructors * ast: introduce nkHiddenTryStmt for destructor generation in order to be able to optimize better the code later on * renamed 'patterns' switch to 'trmacros' as it was totally misleading before * destructors: introduce tfCheckedForDestructor flag in preparation of strict =destroy checking * test for invalid/too late destructor introductions * liftdestructors: make code robust for nimsuggest * --newruntime works for hello world again * newruntime: code generation for closures