summary refs log tree commit diff stats
path: root/compiler/ccgstmts.nim
Commit message (Collapse)AuthorAgeFilesLines
* fixes #9297 (#9298)cooldome2018-10-111-1/+1
| | | | | | * fixes #9297 * improve spacing
* compiler: minor documentation improvementAraq2018-10-011-1/+1
|
* fixes #9076Araq2018-09-261-1/+1
|
* fixes merge conflictAndreas Rumpf2018-08-191-2/+10
|\
| * Fixes 8535 (#8591)LemonBoy2018-08-171-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Goodbye postInitProc * Give preInitProc its own scope Avoid any conflict between the variables introduced by preInitProc and initProc since both are codegen'd in the same function body. * Fix codegen for global var init in emulated TLS Fixes #8535 * Add test for #8535 * Keep a bogus stack frame around * Remove more dead code
| * Fixes 8616 (#8617)LemonBoy2018-08-121-1/+1
| | | | | | | | | | | | | | | | * Don't leave dangling forward references to types Fixes #8616 * Add a test case for #8616
* | fix merge conflictAndreas Rumpf2018-07-181-0/+4
|\|
| * fix #7405 and #8195 (#8198)Timothee Cour2018-07-161-0/+4
| | | | | | | | | | | | | | | | * fix #7405 and #8195 * control pushInfoContext in semExprNoType,genStmts via a new hintExtendedContext; make NotesVerbosity computation more DRY * addressed comments
* | refactorings in preparations for the new runtimeAndreas Rumpf2018-07-101-1/+1
|/
* code cleanup: remove newScopeForIf switchAndreas Rumpf2018-07-041-2/+1
|
* Reject enums with holes when computedGoto is used (#8132)LemonBoy2018-06-271-0/+3
| | | Fixes #7699
* fixes #8076Araq2018-06-201-10/+11
|
* fixex merge conflictsAraq2018-06-081-44/+52
|\
| * Fixes #7982Yuriy Glukhov2018-06-071-4/+9
| |
| * Merge branch 'devel' into yield-in-tryYuriy Glukhov2018-05-151-28/+25
| |\
| * | Fixed codegen (added blockLeaveActions) to closure itersYuriy Glukhov2018-05-091-35/+38
| | |
| * | Closure iter transformationYuriy Glukhov2018-05-091-5/+5
| | |
* | | platform.nim doesn't use globals anymore; prepare msgs.nim for not using globalsAndreas Rumpf2018-05-181-12/+12
| | |
* | | preparations of making compiler/msgs.nim free of global variablesAndreas Rumpf2018-05-171-1/+1
| | |
* | | extccomp: no globals anymoreAraq2018-05-161-7/+7
| |/ |/|
* | options.nim: no global variables anymoreAndreas Rumpf2018-05-131-7/+7
| |
* | C code generator compiles againAndreas Rumpf2018-05-121-21/+18
|/
* remove dead code elimination option (#7669)Jacek Sieka2018-04-231-16/+2
|
* Cleanups 20180401 (#7458)Jacek Sieka2018-04-121-36/+34
|
* quick bug fix (#7576)cooldome2018-04-121-0/+2
|
* Cpp codegen: handling of imported exceptions. Fixes #3571 (#7360)cooldome2018-04-101-13/+17
|
* fixes #7414 (#7434)cooldome2018-03-291-21/+19
|
* Fixes #7363 (#7371)cooldome2018-03-201-2/+3
|
* Fixes #6837 (#7271)cooldome2018-03-021-1/+4
|
* genTryCpp codegen. Fixes #7232. Fixes #7239 (#7240)cooldome2018-02-221-43/+7
|
* genTryCpp to catch by Nim type, ready for first review (#7196)cooldome2018-02-121-61/+81
| | | | | | | | | | | | | | | | * Rewrite genTryCpp * correction * Implement polymorphic raise in cpp * revert backticks in emit * Cleanp a comment * revert test changes * better handling of <new> header
* nested finally bug (#7207)cooldome2018-02-121-1/+1
|
* GC improvements; distinguish between thread local and globals in the marking ↵Araq2018-01-141-2/+6
| | | | step
* first steps in adding template/macro calls to stack tracesAraq2017-12-211-4/+2
|
* wipAndreas Rumpf2017-11-021-1/+1
|
* deprecated unary '<'Andreas Rumpf2017-10-291-7/+7
|
* backend preparations for incomplete/forwarded object typesAndreas Rumpf2017-10-281-5/+5
|
* fixes #6422Andreas Rumpf2017-10-261-4/+31
|
* make nnkGotoState and labels more flexibleAndreas Rumpf2017-10-151-5/+11
|
* allow macros to produce nnkGotoState and nkStateAndreas Rumpf2017-10-091-1/+4
|
* first implementation of the 'func' keywordAndreas Rumpf2017-09-231-1/+1
|
* refactoring: TLoc knows the node it originated from; it is planned to use ↵Andreas Rumpf2017-09-211-11/+13
| | | | this to produce better C code (move optimizations)
* introduce OnHeapNew and rename TLoc.s to TLoc.storageAndreas Rumpf2017-09-211-1/+1
|
* closures have an object type field so that we can perform correct deepCopy() ↵Andreas Rumpf2017-07-221-3/+3
| | | | for the BoehmGC target
* a few tiny cleanups (#5712)Jacek Sieka2017-05-291-8/+7
| | | exposes emitLazily (for nlvm) and simplifies some conditionals
* Consider optNoCppExceptions in blockLeaveActions (#5801)Ruslan Mustakov2017-05-111-2/+2
|
* minor codegen bugfix: don't use names for closures that are also mangled Nim ↵Araq2017-02-261-1/+1
| | | | names
* fixes #5417Andreas Rumpf2017-02-241-1/+1
|
* removed compiler internal list implementation (#5371)Arne Döring2017-02-221-1/+1
|
* fixes #5400Araq2017-02-161-2/+5
|