summary refs log tree commit diff stats
path: root/compiler/ccgcalls.nim
Commit message (Collapse)AuthorAgeFilesLines
* daily cruft removalJacek Sieka2018-12-081-20/+0
|
* Add `toOpenArray[T](ptr UncheckedArray[T])` for clarity. (#9316)c-blake2018-10-121-1/+1
| | | | | | | | | | | * Add `toOpenArray[T](ptr UncheckedArray[T])` for clarity. `ptr array[0,T]` for some unchecked type already works but A) `UncheckedArray` seems to be the intended future way for this kind of access, and B) essentially all use cases will have a `ptr` for that kind of array source and this call signature lets callers drop the trailing `[]` corresponding to that `ptr` deref. This PR relates to issue https://github.com/nim-lang/Nim/issues/9001 . * Add a test for toOpenArray() for UncheckedArray[T]s.
* make tests green againAraq2018-08-211-1/+1
|
* fixes merge conflictAndreas Rumpf2018-08-191-2/+2
|\
| * WIP: disallow 'nil' for strings and seqsAndreas Rumpf2018-08-131-2/+2
| |
* | more progress on destructor based stringsAndreas Rumpf2018-07-131-3/+7
|/
* codgen refactoring: prepare for alternative string/seq implementationsAndreas Rumpf2018-06-291-6/+6
|
* fixex merge conflictsAraq2018-06-081-3/+2
|\
| * check bounds instead of indexnitely2018-06-051-3/+2
| |
* | platform.nim doesn't use globals anymore; prepare msgs.nim for not using globalsAndreas Rumpf2018-05-181-15/+15
|/
* C code generator compiles againAndreas Rumpf2018-05-121-9/+9
|
* make tests greenAndreas Rumpf2018-04-281-1/+1
|
* string to cstring conversions produce the empty C string for nil; this will ↵Andreas Rumpf2018-04-281-4/+4
| | | | be consistent with alternative string implementations
* added toOpenArray builtin for zero-copy slices; syntax sugar yet to comeAraq2018-03-241-12/+24
|
* fixes #6960Andreas Rumpf2018-02-111-2/+2
|
* preparations for language extensions: 'sink' and 'lent' typesAndreas Rumpf2018-01-071-4/+4
|
* deprecated unary '<'Andreas Rumpf2017-10-291-3/+3
|
* fixes #6435Andreas Rumpf2017-09-251-1/+1
|
* refactoring: TLoc knows the node it originated from; it is planned to use ↵Andreas Rumpf2017-09-211-3/+3
| | | | this to produce better C code (move optimizations)
* minor codegen bugfix: don't use names for closures that are also mangled Nim ↵Araq2017-02-261-2/+2
| | | | names
* fixes a minor codegen issue where name mangling could produce an identifier ↵Araq2017-02-261-1/+1
| | | | used by the codegen; refs #5437
* Reset exprs before return by arg. Fixes #5098 (#5191)Brandon Pickering2017-01-111-2/+2
|
* removed tyArrayConstr completely from the compiler; introduced tyAlias ↵Araq2016-11-141-6/+6
| | | | instead in preparation for further bugfixes
* remove unused stuffJacek Sieka2016-08-091-2/+2
|
* remove keepAlive and friendsJacek Sieka2016-08-091-5/+0
|
* fixes #4371Andreas Rumpf2016-07-081-1/+1
|
* Return nil from genOtherArg after error.Matthew Baulch2016-07-051-1/+3
|
* Report wrong arg count when too many params and no varargs.Matthew Baulch2016-07-051-0/+2
|
* Merge branch 'devel' into new-llAndreas Rumpf2016-01-141-0/+8
|\
| * fixed #2240 and #3586andri lim2016-01-051-0/+8
| |
* | fixes #2659Andreas Rumpf2016-01-041-2/+2
|/
* fixes #3144Araq2015-07-261-19/+19
|
* importing of C++ nested generics like std::vector<T>::iterator, using the ↵Zahary Karadjov2015-04-131-10/+3
| | | | apostrophe operator
* Get rid of deprecation warningsdef2015-04-071-87/+87
|
* compiler_ropes: ropeToStr -> $Jacek Sieka2015-04-011-2/+2
|
* bugfixes for C++ codegenAraq2015-04-011-2/+28
|
* fixes #1717, fixes #2324Araq2015-03-221-1/+4
|
* fixes #2266Araq2015-03-221-1/+1
|
* fixes #2336Araq2015-03-161-1/+2
|
* bugfix: c++ pattern #@ could index out of boundsAraq2015-03-101-5/+6
|
* fixes #2199, fixes #2197Araq2015-02-241-1/+1
|
* fixes #2068Araq2015-02-121-9/+21
|
* fixes c++ codegen regressionAraq2015-02-071-1/+1
|
* lots of C++ codegen improvementsAraq2015-02-071-8/+16
|
* C++ support: codegen generates C++'s references and avoids copiesAraq2015-02-041-26/+50
|
* bugfixes for the new C++ patternsAraq2015-01-231-8/+7
|
* better C++ support wrt 'this'Araq2015-01-181-20/+90
|
* patterns for 'importcpp' (still undocumented)Araq2015-01-141-27/+91
|
* handle 'T&' properly for better C++ supportAraq2015-01-131-3/+11
|
* implemented mixed mode codegenAraq2014-10-031-2/+2
|