summary refs log tree commit diff stats
path: root/compiler
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup leftovers of #12911(#12916)Clyybber2019-12-171-2/+1
|
* ARC: cycle detector (#12823)Andreas Rumpf2019-12-1714-153/+297
| | | | | | | | | | | | | * first implementation of the =trace and =dispose hooks for the cycle collector * a cycle collector for ARC: progress * manual: the .acyclic pragma is a thing once again * gcbench: adaptations for --gc:arc * enable valgrind tests for the strutils tests * testament: better valgrind support * ARC refactoring: growable jumpstacks * ARC cycle detector: non-recursive algorithm * moved and renamed core/ files back to system/ * refactoring: --gc:arc vs --gc:orc since 'orc' is even more experimental and we want to ship --gc:arc soonish
* allow typed/untyped in magic procs (#12911)Timothee Cour2019-12-171-4/+10
|
* fixes #12885 [backport] (#12895)Andreas Rumpf2019-12-131-0/+4
|
* Fixes #12883 (#12894)cooldome2019-12-131-0/+13
| | | | | | | | | | * fixes #12883 * fix comment * add normalize * fix
* fixes #12882 (#12889)cooldome2019-12-131-1/+1
| | | | * fixes #12882
* fixes #12148 [backport] (#12888)Andreas Rumpf2019-12-121-1/+1
|
* invoke createTypeBoundOps for constructors (#12878)cooldome2019-12-111-0/+7
|
* ARC: fixes cycle detection and move the .cursor attribute into closures (#12872)Andreas Rumpf2019-12-112-1/+3
|
* Increased TInstr field sizes: allow long jumps and 65535 VM registers (#12777)Ico Doornekamp2019-12-101-5/+5
| | | | | | | | | * Increased regBx size from 16 to 24 bits to increase jump range in the VM from 32K to 8M instructions. Fixes #12727 * Increased VM TInst register field sizes to 16 bits to allow up to 65535 VM registers per proc * Added test case for >255 VM registers
* ARC: yet another bugfix (#12871)Andreas Rumpf2019-12-101-25/+41
|
* completes #12799, fixes #12216 (#12870)Andreas Rumpf2019-12-101-0/+1
|
* fixes #12827 (#12829) [backport]cooldome2019-12-101-4/+5
|
* fixes #12820 (#12828)cooldome2019-12-091-0/+7
|
* Support cross compiling from host to host (#12859)Neelesh Chandola2019-12-091-2/+1
|
* Assigning template to var/let/const gives a proper error (#12851)Neelesh Chandola2019-12-091-5/+9
| | | | | | * Assigning template to var/let/const gives a proper error * Fix style
* Fixes #12832 (#12842) [backport]Neelesh Chandola2019-12-081-0/+5
| | | | | | * Fix #12832 * nimVm -> nimvm in json.nim * Use suggestSym() instead of markUsed(); Also use styleCheckUse() for finding style violations
* VM: allow ptr setting ptr fields (#12825)Timothee Cour2019-12-061-1/+5
|
* fixes #12821 (#12822)cooldome2019-12-061-5/+10
|
* Fixed objects being erroneously zeroed out before object construction ↵Neelesh Chandola2019-12-051-0/+3
| | | | (#12814) [backport]
* ARC related bugfixes and refactorings (#12781)Andreas Rumpf2019-12-055-247/+219
|
* fixes #12783 [backport] (#12810)cooldome2019-12-051-6/+3
| | | | | | * fixes #12783 * Trigger build
* better support for PROGMEM like annotations for lets/vars; fixes #12216 (#12799)Andreas Rumpf2019-12-058-81/+118
|
* fixes #12804 (#12809)cooldome2019-12-051-2/+2
|
* fix #12740 (#12774)Arne Döring2019-12-041-7/+16
| | | | | | | | | | * fix #12740 * A different kind of a hack * proper fix * fix typo
* Fix external file recompilation (#12802)cooldome2019-12-031-1/+1
|
* Path substitution for --out and --outdir (#12796)genotrance2019-12-032-6/+4
| | | | | * Enable pathSubs for --out and --outDir * Cleanup
* Fixes #12734 (#12784)Tomohiro2019-12-011-1/+4
|
* Refactored VM registerlayout. The size and location of the registers in (#12775)Ico Doornekamp2019-11-302-29/+54
| | | | the instructions are now all derived from a single definition, allowing the register layout to be changed.
* [backport] always set `fileInfoIdx.isKnownFile` (#12773)Jasper Jenkins2019-11-291-0/+1
|
* fixes #12669Araq2019-11-291-11/+26
|
* fixes #12766Araq2019-11-291-8/+12
|
* Fixes #12767 (#12768)genotrance2019-11-291-0/+2
|
* fixes #11727 [backport]Araq2019-11-283-5/+12
|
* fixes #12488 [backport]Araq2019-11-281-1/+4
|
* ARC: implemented a simple cycle detectorAraq2019-11-283-6/+42
|
* Cosmetic compiler cleanup (#12718)Clyybber2019-11-28109-6255/+6116
| | | | | | | | | | | | | | | | | | * 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
* Substitute $nimbleDir in --path flags (#12750)genotrance2019-11-283-2/+17
|
* VM: improvements for var T/addr (#12667); fixes #12489Andreas Rumpf2019-11-283-8/+43
|
* [backport] Fix spelling typos (#12755)Brian Wignall2019-11-282-2/+2
|
* ARC: ported the GC tests over to --gc:arcAraq2019-11-263-0/+6
|
* fixes #12663 staticRead now creates a dependency for rebuilds (#12731) ↵Timothee Cour2019-11-252-12/+15
| | | | | | | [backport] * fix #12663 staticRead * address comments
* Revert "ARC: another critical bugfix; temporary tuples we introduce for ↵narimiran2019-11-241-1/+0
| | | | | | tuple unpackaging are not owning the data" This reverts commit 8b2f8f5430e8c328efe5bce94e397f15e3c501af.
* ARC: another critical bugfix; temporary tuples we introduce for tuple ↵Araq2019-11-221-0/+1
| | | | unpackaging are not owning the data
* ARC: yet another silly bugfixAraq2019-11-221-0/+2
|
* implemented a new localPassc pragma (#12706)Andreas Rumpf2019-11-225-8/+28
|
* Improve head comment on JS (#12548)Juan Carlos2019-11-221-15/+13
| | | | | | * Improve comment on JSGen, replace 12+ concatenations by 1 multiline string * Peer review feedbacks https://github.com/nim-lang/Nim/pull/12548#discussion_r340051147
* added the --asm command line option for inspection of the produced assember ↵Andreas Rumpf2019-11-213-6/+35
| | | | code (#12699)
* fixes #12670 [backport] (#12693)Andreas Rumpf2019-11-201-1/+2
|
* conversions to unsigned numbers are not checked anymore; implements /… ↵Andreas Rumpf2019-11-204-6/+12
| | | | | | | | (#12688) [backport] * conversions to unsigned numbers are not checked anymore; implements / fixes https://github.com/nim-lang/RFCs/issues/175 * change the spec yet again to be less consistent but to make more sense; updated the changelog