summary refs log tree commit diff stats
path: root/compiler/cgendata.nim
Commit message (Collapse)AuthorAgeFilesLines
* Dead code elimination for entire modules and their init procs if empty (#10032)cooldome2018-12-301-5/+5
| | | | | | * fixes #9798 * Change order of write modules * Move datInit calls ahead of initStackBottom
* Simplify cgen forward proc (#9635)Jacek Sieka2018-11-071-6/+5
| | | | | | | | | | * cgen: remove module resetting (unused) * cgen: keep single list of forwarded modules fewer counters to keep track of * cgen: fix module lookup
* Make the registered passes local to the ModuleGraph (#9259)LemonBoy2018-10-091-2/+2
| | | Closes #9068
* compiler refactoring; use typesafe path handing; docgen: render symbols ↵Andreas Rumpf2018-09-071-3/+3
| | | | between modules
* Fixes 8535 (#8591)LemonBoy2018-08-171-1/+0
| | | | | | | | | | | | | | | | | | | * 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
* fixex merge conflictsAraq2018-06-081-0/+2
|\
| * Fixes #7982Yuriy Glukhov2018-06-071-0/+2
| |
* | remove the last global variables in the C code generatorAndreas Rumpf2018-05-281-1/+12
| |
* | remove more global variables in the Nim compilerAndreas Rumpf2018-05-271-2/+1
|/
* options.nim: no global variables anymoreAndreas Rumpf2018-05-131-1/+1
|
* C code generator compiles againAndreas Rumpf2018-05-121-2/+5
|
* sem pass compiles againAndreas Rumpf2018-05-121-0/+3
|
* C codegen: preparations for different seq and string implementationsAndreas Rumpf2018-04-031-1/+2
|
* fixes #7414 (#7434)cooldome2018-03-291-5/+4
|
* minor code cleanup: remove redundant .final markersAraq2017-11-301-2/+2
|
* work in progress: new implementation for 'a[^1]'Andreas Rumpf2017-10-291-1/+1
|
* removed compiler internal list implementation (#5371)Arne Döring2017-02-221-3/+7
|
* name mangling bugfixes; ndi file generation for debugger supportAndreas Rumpf2017-02-031-1/+2
|
* new name mangling scheme implementedAndreas Rumpf2017-02-021-3/+5
|
* tiny progress on the name manglingAndreas Rumpf2017-02-011-1/+1
|
* refactoring: explict config state instead of globalsAndreas Rumpf2017-02-011-0/+1
|
* made more tests greenAraq2016-12-051-1/+3
|
* refactoring: C codegen with fewer global variablesAraq2016-12-051-15/+17
|
* more tests workAraq2016-12-021-0/+1
|
* Merge branch 'devel' into sighashesAraq2016-12-011-1/+1
|\
| * fixes #5055Araq2016-11-301-1/+1
| |
* | Merge branch 'devel' into sighashesAraq2016-11-281-0/+1
|\|
| * first version of the new memory tracking featureAndreas Rumpf2016-11-211-0/+1
| |
* | signature hashing: more progressAraq2016-11-111-5/+6
| |
* | C codegen: first version of signature hashing for better incremental buildsAraq2016-11-081-0/+1
|/
* fixes #4505, fixes #4230Andreas Rumpf2016-08-041-5/+5
|
* C code generation now deterministic; fixes #4364Andreas Rumpf2016-06-221-2/+3
|
* refactoring: flags instead of boolsAndreas Rumpf2016-05-181-7/+10
|
* Get rid of deprecation warningsdef2015-04-071-13/+13
|
* codegen doesn't produce line tracing commands anymore; fixes #1344Araq2015-03-211-5/+8
|
* lots of C++ codegen improvementsAraq2015-02-071-0/+3
|
* updated the compiler to use the new symbol namesAraq2014-08-281-3/+3
|
* Nimrod renamed to NimAraq2014-08-281-2/+2
|
* optimized method dispatchersAraq2014-06-121-0/+1
|
* iterators now return tyIter(T);Zahary Karadjov2014-03-051-1/+1
| | | | | | | | tyIter(T) represents an "iteration yielding values of type T" I'm planning to use that in the context of the `is` operator supporting predicates such as `C.items is iterator` and also in the upcoming support for higher-order inline iterators.
* Fixed #688 : return in except statments. Also fixed return in finally ↵Audun Wilhelmsen2014-02-231-2/+5
| | | | statements.
* Fixed issue 391 (nested break in except-stmts)Audun Wilhelmsen2014-02-161-0/+1
|
* fixes #914Araq2014-02-141-1/+2
|
* Introduce a PreMain proc in the C codegenZahary Karadjov2013-12-301-1/+2
| | | | | | | | The rationale here is that it has become too hard to step into a program when #line directives are enabled. You have to skip over many lines of init code that doesn't have corresponding lines in the nimrod program. Now, you can just step-out of PreMain and go straight to the useful code in NimMain.
* case consistency: cs:partial bootstraps on windowsAraq2013-12-291-4/+4
|
* case consistency part 4Araq2013-12-271-2/+2
|
* implemented 'injectStmt'; more debug supportAraq2013-12-161-0/+1
|
* fixes a regression where memset was used without including <string.h>Araq2013-12-031-0/+1
|
* work-in-progress for compiling generics in their owner moduleZahary Karadjov2013-08-191-3/+1
|
* documented object constrs; endb works againAraq2013-03-091-4/+3
|