summary refs log tree commit diff stats
path: root/compiler/cgen.nim
Commit message (Collapse)AuthorAgeFilesLines
* remove more global variables in the Nim compilerAndreas Rumpf2018-05-271-4/+4
|
* Merge branch 'devel' into araq-big-refactoringAndreas Rumpf2018-05-211-4/+4
|\
| * Allow better optimisations by removing NOINLINE from module init procsYuriy Glukhov2018-05-161-4/+4
| |
* | platform.nim doesn't use globals anymore; prepare msgs.nim for not using globalsAndreas Rumpf2018-05-181-43/+44
| |
* | compiler/ropes.nim has no global error handler anymoreAndreas Rumpf2018-05-171-6/+12
| |
* | preparations of making compiler/msgs.nim free of global variablesAndreas Rumpf2018-05-171-10/+10
| |
* | extccomp: no globals anymoreAraq2018-05-161-6/+6
|/
* options.nim: no global variables anymoreAndreas Rumpf2018-05-131-51/+51
|
* move more globals into the config objectAndreas Rumpf2018-05-131-3/+3
|
* C code generator compiles againAndreas Rumpf2018-05-121-53/+57
|
* sem pass compiles againAndreas Rumpf2018-05-121-6/+4
|
* fixes #7743Andreas Rumpf2018-05-061-1/+1
|
* Disable setTerminate when noCppExceptions is defined (#7751)Emery Hemingway2018-05-041-1/+1
|
* remove dead code elimination option (#7669)Jacek Sieka2018-04-231-4/+0
|
* refactoring: make FileIndex a distinct type; make line information an ↵Andreas Rumpf2018-04-211-6/+6
| | | | uint16; fixes #7654
* Nim namespace for cpp (#7453)AdrianV2018-04-151-0/+15
| | | | | - new option --usenamespace to generate nim cpp code in its own namespace Nim - minor changes for compatibility with the new Embarcadero = Borland C++-Builder (bcc)
* Cleanups 20180401 (#7458)Jacek Sieka2018-04-121-4/+1
|
* C codegen: preparations for different seq and string implementationsAndreas Rumpf2018-04-031-5/+12
|
* make 'memset' calls more robust; refs #7341Andreas Rumpf2018-03-161-1/+1
|
* fixes #7332 (#7341)andri lim2018-03-161-1/+3
|
* genTryCpp to catch by Nim type, ready for first review (#7196)cooldome2018-02-121-0/+5
| | | | | | | | | | | | | | | | * Rewrite genTryCpp * correction * Implement polymorphic raise in cpp * revert backticks in emit * Cleanp a comment * revert test changes * better handling of <new> header
* fixes #6960Andreas Rumpf2018-02-111-0/+1
|
* move new sha1 module into the new 'std' namespaceAndreas Rumpf2018-02-061-1/+1
|
* fixes #6961Andreas Rumpf2018-02-021-1/+1
|
* fixes #7129Andreas Rumpf2018-01-301-1/+0
|
* symbol files: introduce more switches for debuggingAndreas Rumpf2018-01-071-1/+0
|
* symbol files: do not regenerate method dispatchers for nowAndreas Rumpf2018-01-041-0/+4
|
* symbol files: fixes the logic for multi-methodsAraq2018-01-031-4/+4
|
* first steps in adding template/macro calls to stack tracesAraq2017-12-211-15/+27
|
* Do not include date in binaries (#6581)Bernhard M. Wiedemann2017-11-181-3/+4
| | | | | | and do not claim copyright for 2018 in order to make nim package builds reproducible. See https://reproducible-builds.org/ for why this is good.
* Fix incorrect signature for nimLoadProcs when using cpp backend (#6699)Kartik Saranathan2017-11-071-1/+1
|
* deprecated unary '<'Andreas Rumpf2017-10-291-1/+1
|
* backend preparations for incomplete/forwarded object typesAndreas Rumpf2017-10-281-5/+5
|
* No implicit quit for Genode (#6515)Emery Hemingway2017-10-251-2/+1
|
* fixes a codegen bug: in 'result = f(result)' the default initialization for ↵Andreas Rumpf2017-10-091-1/+8
| | | | 'result' IS required
* 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-38/+53
| | | | this to produce better C code (move optimizations)
* introduce OnHeapNew and rename TLoc.s to TLoc.storageAndreas Rumpf2017-09-211-6/+6
|
* improve the debugging experience when line directives are usedZahary Karadjov2017-09-041-4/+6
|
* fixes #6279Andreas Rumpf2017-08-291-0/+9
|
* fixes #5989Araq2017-07-171-2/+2
|
* cgen: #undef some more predefined symbols. (#5831)Markus F.X.J. Oberhumer2017-06-131-0/+10
| | | This is a followup to issue #5171.
* review and merge zahary's work (#5849)zah2017-06-031-5/+7
| | | | | | | | | * proper indentation for the generated JS code * improved dead-code elimination for JavaScript * test the JS dead-code elimination A new test spec has been added - "maxcodesize". It specifies the maximum size of the generated code in bytes.
* a few tiny cleanups (#5712)Jacek Sieka2017-05-291-4/+0
| | | exposes emitLazily (for nlvm) and simplifies some conditionals
* Create correct C protoypes in genMainProc. (#5822)Markus F.X.J. Oberhumer2017-05-161-4/+4
| | | This avoids a -Wstrict-prototypes warning in the generated C file.
* make -d:nimdiff feature more robustAndreas Rumpf2017-04-261-2/+5
|
* support for the Genode OS framework (#5560)Emery Hemingway2017-03-311-0/+16
|
* fixes #5598Araq2017-03-231-0/+1
|
* minor codegen bugfix: don't use names for closures that are also mangled Nim ↵Araq2017-02-261-1/+1
| | | | names
* fixes #5439Araq2017-02-261-4/+5
|