Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #9881 from timotheecour/pr_ref_9880 | Andreas Rumpf | 2018-12-11 | 1 | -6/+6 |
|\ | | | | | refs #9880 show index and bound in lots of `index out of bounds` errors | ||||
| * | refs #9880 show index and bound in lots of `index out of bounds` errors | Timothee Cour | 2018-12-09 | 1 | -6/+6 |
| | | |||||
* | | daily cruft removal | Jacek Sieka | 2018-12-08 | 1 | -4/+0 |
|/ | |||||
* | fixes #9864 [backport] | Araq | 2018-12-05 | 1 | -5/+15 |
| | |||||
* | More dead code (#9835) | Jacek Sieka | 2018-12-04 | 1 | -11/+11 |
| | | | | | | * remove more assignment flags * needsComplexAssignment > containsGarbageCollectedRef * remove OnStackShadowDup | ||||
* | gc:destructors further progress | Andreas Rumpf | 2018-11-29 | 1 | -5/+19 |
| | |||||
* | fixes #9675 | Andreas Rumpf | 2018-11-26 | 1 | -0/+1 |
| | |||||
* | Remove dead code (#9777) | Jacek Sieka | 2018-11-26 | 1 | -7/+2 |
| | | | | | | | | | * gc/gc2: remove unused ref counting stuff * also removes some false threading support - hasSharedHeap is always false in gc/gc2 * gc: remove some threading cruft * remove asgnRefNoCycle * compiler: remove TLoc.dup (unused) | ||||
* | compiler: remove unused assignment flags (#9760) | Jacek Sieka | 2018-11-21 | 1 | -18/+3 |
| | |||||
* | Fixes discard bug in cpp codegen (#9747) [backport] | cooldome | 2018-11-19 | 1 | -9/+2 |
| | | | Fixes discard bug in cpp codegen | ||||
* | --gc:destructors: hello world example compiles and runs | Araq | 2018-11-16 | 1 | -0/+10 |
| | |||||
* | make Nim take roughly 100MB less RAM for bootstrapping via a new compiler ↵ | Andreas Rumpf | 2018-11-07 | 1 | -2/+5 |
| | | | | switch -d:leanCompiler; useful for the Raberry PI | ||||
* | language cleanup: the .unchecked pragma is dead | Araq | 2018-11-06 | 1 | -6/+5 |
| | |||||
* | make tmissingbracket compile for C++; refs #7870 | Araq | 2018-10-30 | 1 | -1/+1 |
| | |||||
* | Don't crash if GC_{un,}ref is called on nil (#9445) | LemonBoy | 2018-10-22 | 1 | -2/+2 |
| | | | Fixes #9442 | ||||
* | gogc: GCC-8.2.0 compatibility and other improvements (#9211) | Ștefan Talpalaru | 2018-10-11 | 1 | -8/+19 |
| | | | | | | | | - Go's write barriers are now plugged-in in all the relevant points - "gcGo" is correctly classified by usesWriteBarrier() - some gogc structures and functions now use golib wrappers to keep GCC version-specific conditions out of the compiler/stdlib code - we no longer allow mixing the C malloc with Go's - fix a problem with string copying | ||||
* | fixes #9281 | Araq | 2018-10-11 | 1 | -2/+16 |
| | |||||
* | Unchecked arrays now have their own type (#9267) | LemonBoy | 2018-10-10 | 1 | -0/+10 |
| | |||||
* | fixes #5015 | Araq | 2018-10-03 | 1 | -2/+4 |
| | |||||
* | fixes #7092 | Araq | 2018-10-02 | 1 | -1/+1 |
| | |||||
* | C++ codegen: emit correctly typed code for closures in 'const'; refs #7870 | Araq | 2018-10-02 | 1 | -3/+9 |
| | |||||
* | Fix codegen for some set operations | LemonBoy | 2018-09-28 | 1 | -1/+1 |
| | | | | | | | Taking the LHS type when a temporary result value was needed lead to bad code being generated if we get a tyRef. Fixes #9098 | ||||
* | C codegen: support system.move and system.wasMoved | Andreas Rumpf | 2018-09-24 | 1 | -0/+19 |
| | |||||
* | Merge pull request #8746 from LemonBoy/nil-opts | Andreas Rumpf | 2018-09-23 | 1 | -3/+7 |
|\ | | | | | nil strings are movable | ||||
| * | nil strings are movable | LemonBoy | 2018-09-22 | 1 | -3/+7 |
| | | |||||
* | | Fix codegen for set[T] parameters | LemonBoy | 2018-09-15 | 1 | -1/+2 |
|/ | | | | | | | | Sometimes sets are materialized as arrays and we must treat them as such: the CPP backend is pickier than the C one and would sometimes produce invalid code. Fixes #8967 | ||||
* | even more strict isNil handling for strings/seqs in order to detect bugs | Araq | 2018-08-22 | 1 | -3/+2 |
| | |||||
* | some progress on destructors for builtin seqs | Andreas Rumpf | 2018-08-20 | 1 | -1/+2 |
| | |||||
* | fixes merge conflict | Andreas Rumpf | 2018-08-19 | 1 | -14/+23 |
|\ | |||||
| * | exploit the fact that empty seqs don't have to allocate in the code generator | Andreas Rumpf | 2018-08-18 | 1 | -7/+14 |
| | | |||||
| * | Genode fixes (#8501) | Emery Hemingway | 2018-08-16 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Genode fixes - wrap strings in "Genode::Cstring" when logging - define SIGABRT for Genode - disable GCC -fstack-protector - use log RPC for fatal messages - add --os:genode build to appveyor - define paramStr and paramCount * Select fixups for Genode POSIX | ||||
| * | WIP: disallow 'nil' for strings and seqs | Andreas Rumpf | 2018-08-13 | 1 | -1/+2 |
| | | |||||
| * | codegen improvement: map the empty string to 'nil' since it's now allowed to ↵ | Araq | 2018-08-08 | 1 | -3/+3 |
| | | | | | | | | do that | ||||
| * | fixes #6255, add `system.ashr` arithmetic right shift (#8547) | andri lim | 2018-08-07 | 1 | -1/+1 |
| | | |||||
| * | fixes 7833 (#8533) | Andreas Rumpf | 2018-08-05 | 1 | -16/+36 |
| | | | | | | | | | | | | | | | | | | | | | | * fixes #7833; still to-do: fix setLen * make tests green again * also fixes setLen and string concats; refs #7833 * change formating to avoid a compiler warning * emit the write barrier also for addChar * fixes yet another regression * make setLengthStr compile for the old version * make growobjcrash complete earlier | ||||
* | | make at least bootstrapping work | Araq | 2018-08-05 | 1 | -16/+35 |
|\ \ | |||||
| * | | emit the write barrier also for addChar | Araq | 2018-08-04 | 1 | -1/+7 |
| | | | |||||
| * | | also fixes setLen and string concats; refs #7833 | Araq | 2018-07-31 | 1 | -8/+19 |
| | | | |||||
| * | | fixes #7833; still to-do: fix setLen | Araq | 2018-07-30 | 1 | -7/+10 |
| |/ | |||||
* | | --gc:destructors: next steps; WIP | Andreas Rumpf | 2018-07-21 | 1 | -21/+23 |
| | | |||||
* | | fix merge conflict | Andreas Rumpf | 2018-07-18 | 1 | -24/+15 |
|\| | |||||
| * | Don't depend on string.h in codegen (#8299) | Yuriy Glukhov | 2018-07-13 | 1 | -21/+13 |
| | | |||||
* | | WIP: strings/seqs based on destructors | Andreas Rumpf | 2018-07-17 | 1 | -4/+16 |
| | | |||||
* | | more progress on destructor based strings | Andreas Rumpf | 2018-07-13 | 1 | -21/+53 |
| | | |||||
* | | system.substr is not implemented with compilerProcs anymore | Andreas Rumpf | 2018-07-11 | 1 | -2/+3 |
| | | |||||
* | | refactorings in preparations for the new runtime | Andreas Rumpf | 2018-07-10 | 1 | -5/+5 |
|/ | |||||
* | make tmemfile2 work again | Araq | 2018-07-06 | 1 | -0/+1 |
| | |||||
* | turn destructors into finalizers | Andreas Rumpf | 2018-07-05 | 1 | -3/+15 |
| | |||||
* | Merge branch 'devel' into araq-devel | Andreas Rumpf | 2018-07-01 | 1 | -13/+17 |
|\ | |||||
| * | Fix codegen for mInSet magic and empty sets (#8140) | LemonBoy | 2018-06-29 | 1 | -13/+17 |
| | | | | | | Fixes #8041 |