summary refs log tree commit diff stats
path: root/compiler
Commit message (Collapse)AuthorAgeFilesLines
* no wasMoved() calls after destructors necessaryAraq2020-07-101-6/+6
|
* optimize sinks even when in a loopAraq2020-07-101-23/+12
|
* renderer.nim: more obvious debug outputAraq2020-07-101-1/+11
|
* Move `wasMoved` out of `=destroy`Clyybber2020-07-103-16/+8
|
* CosmeticsClyybber2020-07-101-52/+51
|
* cleanup of PR #14833 (VM profiler)Araq2020-07-091-13/+16
|
* VM profiler (#14833)Ico Doornekamp2020-07-097-15/+85
| | | | | | | | | | | | | | | | | | | | | | | | | * Crude VM profiler * Added --profileVM flag, refactoring * fixed FileLine hash * Use TLineInfo instead of own FileLine, updated formatting * Refactoring, moved PStackFrame to vmdefs for cleaner data structure * Moved vmprofiler to separate file * Simplified TLineInfo hash, use toFileLineCol for output * Hash * Moved profile data into Config, dump only once at end of run * Changed profile output header to show '#instr' instead of 'count' * Do not accumulate instrcount for non-top frames Co-authored-by: Ico Doornekamp <git@zevv.nl>
* fixes #14925 (#14947)Andreas Rumpf2020-07-091-0/+4
|
* fix #11009 (#14935)flywind2020-07-092-1/+7
|
* fixes #14865 (#14937)Andreas Rumpf2020-07-082-0/+2
|
* Make arc compile laser againClyybber2020-07-081-1/+1
|
* fixes #14900, this time for real, maybe (#14934)Andreas Rumpf2020-07-081-2/+8
|
* fixes #14805Araq2020-07-081-1/+1
|
* fixes #14900Araq2020-07-081-38/+42
|
* fixes #14899Araq2020-07-081-4/+37
|
* progressAraq2020-07-081-17/+33
|
* injectdestructors: refactoring, added more cases explicitly (#14929)Andreas Rumpf2020-07-071-7/+68
|
* speed up Nim's lexer by using cstring instead of string. C optimizers are ↵Araq2020-07-071-9/+15
| | | | fragile.
* Fix #14911 (#14922) [backport]Clyybber2020-07-071-1/+1
| | | | | | | * Fix #14911 * Add testcase * Fix test
* Update btrees.nim (#14916)Dean Eigenmann2020-07-061-0/+3
|
* Fix #14396 (#14793)Clyybber2020-07-042-45/+102
| | | | | | | | | | | | | | | | | | | | | | * Correct Left-To-Right evaluation of proc args * Fix CPP backend * Add testcase * closes #14396 * closes #14345 * Improve test and optimize * Improve testcase and optimize literals * Fix bug * Expand testcase and use DFA to optimize * Turn genParams into proc * Turn withTmpIfNeeded into a proc * Cleanup * Fix crash * Better analysis * Cleanup * Trailing newline.. * Fix build * Tiny cleanup Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* scoped memory management (#14790)Andreas Rumpf2020-07-048-437/+367
| | | | | | | * fixes the regressions * closes #13936 * scope based memory management implemented * enabled tcontrolflow.nim test case * final cleanups
* deprecate existsDir; use dirExists instead (#14884)Timothee Cour2020-07-031-1/+1
|
* typetraits.$: $((int, float), int)` is now `"((int, float), int)"` instead ↵Timothee Cour2020-07-021-2/+1
| | | | | of `"(tuple of (int, float), int)" (#14812) Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* {.deprecated: [existsFile: fileExists].} (#14735)Timothee Cour2020-07-022-2/+2
| | | | | | | | | * {.deprecated: [existsFile: fileExists].} * s/existsFile/fileExists/ except under deps * workaround pending #14819 * fix test
* Fix #12745 (#14879)Tomohiro2020-07-022-11/+6
|
* allow packed union (#14868)Clyybber2020-07-011-9/+7
| | | Co-authored-by: Arne Döring <arne.doering@gmx.net>
* fix #14401, trailing comma confuses nimpretty (#14867)Miran2020-07-011-0/+3
|
* Clean out oldast (#14837)Juan Carlos2020-06-304-23/+13
| | | | * Clean out old Deprecated CLI switch * Update to remove --oldast CLI option
* New freebsd platforms (#14801)lbartoletti2020-06-291-1/+1
| | | | | * add riscv as riscv64 * add all platforms supported by FreeBSD
* fix #13432 typetraits.$: $(int,) is now (int,); $tuple[] is now tuple[] (#14799)Timothee Cour2020-06-291-1/+2
| | | | | * typetraits.$: $(int,) is now (int,); $tuple[] is now tuple[] * changelog
* Make unreachable code a warning instead of an error (#14816)Clyybber2020-06-292-6/+6
| | | | | | | * Make unreachable code a warning * Adapt test * Trigger CI
* DFA and injectdestructors cleanup (#14824)Clyybber2020-06-282-157/+118
| | | | | | | | | | | | | | | * DFA and injectdestructors cleanup * More precise write analysis * Cleanup obsoleted path * Unify defInstrTargets and useInstrTargets * Misc cleanups * Nicer CFG printing * Misc cleanups 2
* Fix #14647 (#14776)Clyybber2020-06-282-8/+5
| | | | | | | | | * Fix #14647 * Correct fix * Typo and add test * For real now :p
* expr => untyped; stmt => typed (#14804)Timothee Cour2020-06-251-2/+2
| | | | | * expr => untyped; stmt => typed * changelog + comment
* fix #14802 (#14803)Timothee Cour2020-06-251-1/+2
|
* Reject casts to builtin typeclasses (#14788)Danil Yarantsev2020-06-241-0/+2
| | | | | * Closes #14231, closes #14452 * Merge test to tcast.nim
* [backport] fix #14748, move gdb files to other section of installer.ini (#14772)Miran2020-06-231-2/+2
|
* Deprecated laxStrings for mutating the internal zero terminator on strings ↵Juan Carlos2020-06-235-7/+1
| | | | | and its Deprecated code cleaned out (#14766) Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* Deprecate oldNewlines, clean out deprecated code from oldNewlines (#14763)Juan Carlos2020-06-232-16/+1
|
* minor bugfixes for 'func' and .borrowAraq2020-06-232-2/+3
|
* init checks and 'out' parameters (#14521)Andreas Rumpf2020-06-2327-193/+210
| | | | | | | | | | | * 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
* fix bug in semgnrc: runnableExamples should not semcheck, even with > 1 arg ↵Timothee Cour2020-06-231-1/+1
| | | | (#14768)
* fixes #14240 [backport:1.2] (#14757)Andreas Rumpf2020-06-223-9/+12
|
* fixes #14458 [backport:1.2] (#14756)Andreas Rumpf2020-06-222-4/+7
|
* sizeof for empty objects/tuples should be 1; fixes #14690 (#14751)Andreas Rumpf2020-06-211-2/+2
|
* improve the parser's error messageAraq2020-06-191-1/+1
|
* added a spaceAraq2020-06-191-1/+1
|
* fix #14691 docgen works again for methods (#14701)Timothee Cour2020-06-181-14/+5
| | | | | * fix #14691 docgen methods * fixup
* [cleanups] doassert => doAssert; mark deadcode (#14711)Timothee Cour2020-06-171-10/+12
|