summary refs log tree commit diff stats
path: root/compiler/cgen.nim
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Merge branch 'devel' into faster-nimsuggestAndreas Rumpf2017-02-241-14/+14
|\
| * removed compiler internal list implementation (#5371)Arne Döring2017-02-221-14/+14
| |
* | big compiler refactoring; avoid globals for multi method dispatcher generationAndreas Rumpf2017-02-221-2/+2
|/
* C++ codegen: emit 'extern C' for importc'ed functions that we declare a ↵Araq2017-02-141-4/+7
| | | | prototype for
* name mangling bugfixes; ndi file generation for debugger supportAndreas Rumpf2017-02-031-1/+5
|
* new name mangling rules for easier debuggingAndreas Rumpf2017-02-021-13/+14
|
* new name mangling scheme implementedAndreas Rumpf2017-02-021-6/+7
|
* refactoring: explict config state instead of globalsAndreas Rumpf2017-02-011-2/+3
|
* .compile pragma supports patterns and actionsAraq2017-01-281-31/+36
|
* happy new yearAraq2017-01-071-2/+2
|
* make Nim compiler compile with 0.15.2Araq2017-01-071-3/+16
|
* fixes #5171Araq2017-01-031-0/+1
|
* fixes recently introduced regressionAndreas Rumpf2016-12-211-6/+8
|
* fixes #5136Andreas Rumpf2016-12-211-6/+6
|
* Merge branch 'devel' into sighashesAraq2016-12-191-11/+14
|\
| * fixes #4308, fixes #4905Araq2016-12-181-0/+2
| |
| * revert line info generation change; produces worse results for other casesAraq2016-12-181-2/+2
| |
| * significantly better stack traces when templates are involvedAraq2016-12-181-8/+12
| |