summary refs log tree commit diff stats
path: root/compiler/writetracking.nim
Commit message (Collapse)AuthorAgeFilesLines
* deleted dead code, writetracking.nim was replaced by varpartitions.nimAraq2020-08-261-275/+0
|
* init checks and 'out' parameters (#14521)Andreas Rumpf2020-06-231-3/+3
| | | | | | | | | | | * I don't care about observable stores * enforce explicit initializations * cleaner code for the stdlib * stdlib: use explicit initializations * make tests green * algorithm.nim: set result explicitly * remove out parameters and bring the PR into a mergable state * updated the changelog
* Cosmetic compiler cleanup (#12718)Clyybber2019-11-281-42/+41
| | | | | | | | | | | | | | | | | | * Cleanup compiler code base * Unify add calls * Unify len invocations * Unify range operators * Fix oversight * Remove {.procvar.} pragma * initCandidate -> newCandidate where reasonable * Unify safeLen calls
* Small ast.nim cleanup (#12156)Clyybber2019-09-091-4/+4
| | | | | * Remove sonsLen * Use Indexable
* [refactoring] remove unused imports in the compiler and in some stdlib modulesAraq2019-07-181-2/+1
|
* more destructor based changes (#10885)Andreas Rumpf2019-03-231-1/+1
| | | | | | | | | | | * 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
* remove more global variables in the Nim compilerAndreas Rumpf2018-05-271-1/+2
|
* guards.nim does compileAndreas Rumpf2018-05-111-6/+6
|
* introduce nkTupleConstr AST node for unary tuple construction; breaking changeAndreas Rumpf2018-04-131-2/+2
|
* deprecated unary '<'Andreas Rumpf2017-10-291-1/+1
|
* first implementation of the 'func' keywordAndreas Rumpf2017-09-231-0/+2
|
* make the Nim compiler compile as C++Araq2016-12-101-2/+4
|
* fixes typoAraq2015-09-091-1/+1
|
* optimized writetrackingAraq2015-09-031-139/+149
|
* 'var T' doesn't imply escapingAraq2015-09-021-1/+1
|
* write tracking: leaner code; minor bug fixes (still unusable)Araq2015-08-311-85/+61
|
* first implementation of write tracking and escape analysis; still disabledAraq2015-08-311-0/+286