Commit graph

125 commits

Author SHA1 Message Date
Jacek Sieka
64b0485207 fix types of ansi_c/sysio to more closely match C ABI
also fixes some instances of using C library functions when there are
nim alternatives available
2016-06-05 12:03:20 +08:00
Andreas Rumpf
55ec99b70b new GC listens to GC_ref/GC_unref 2016-05-23 12:54:01 +02:00
Andreas Rumpf
dcf830bba9 fixes #3184 2016-05-22 14:28:53 +02:00
Andreas Rumpf
7e134b5388 fixes #3793 2016-05-16 15:29:51 +02:00
Andreas Rumpf
d8bce8b83d GC with primitive MS 2016-05-16 00:28:00 +02:00
Ruslan Mustakov
0dc35b7841 Replaced ignoreStackAndRegisters with stackSize in GC_step 2016-05-11 20:02:12 +06:00
Ruslan Mustakov
f288eb7543 Added ignoreStackAndRegisters parameter to GC_step 2016-05-10 21:52:44 +06:00
Andreas Rumpf
ad7e219117 GCs support ForeignCells 2016-03-05 19:59:15 +01:00
Andreas Rumpf
fb149d2eef fixes #1895 2016-01-30 14:23:03 +01:00
def
4e0f8cf595 Use ByteAddress instead of deprecated TAddress 2016-01-24 14:02:20 +01:00
Araq
d7433d02bc fixes typo 2015-12-01 00:53:30 +01:00
Araq
999c107c52 fixes #3245 2015-08-25 15:13:39 +02:00
rku
43bfda057b Coroutine support for i386/amd64 platforms unix/windows OSes markAndSweep/refCounting GCs. 2015-07-31 17:59:50 +03:00
pdw
2ca90a20a1 lib/system/g-w - Dropped 'T' from types 2015-06-04 13:18:37 +02:00
Reimer Behrends
2a08bbdf31 Fix GC scanning of registers on x86_64 architectures.
It is possible for jmp_buf to not be word-aligned or addresses
in the register dump to not be word-aligned. This can result in
either addresses in registers being missed or even addresses on
the stack past the register area not being scanned properly.
2015-05-07 14:35:39 +02:00
def
573fa9b891 Clean up GCs a bit 2015-03-10 15:31:55 +01:00
Araq
ee57bb3e3e fixes --gc:none regression; made some tests green 2015-03-10 12:32:47 +01:00
Araq
c40aac8e20 GC: get rid of pathological behaviour for stack marking 2015-03-08 13:08:19 +01:00
def
d875951124 sizeof(char) is always 1 2015-03-04 03:22:06 +01:00
Federico Ceratto
657dca5c3b Fix typos 2015-02-15 16:20:32 +00:00
Araq
683b82a2ec fixes #2070 2015-02-10 20:19:44 +01:00
def
dfdd84f2c9 Make ESTP compile 2015-01-23 23:18:20 +01:00
Araq
7524610b31 fixes #1796 2015-01-05 02:27:24 +01:00
Araq
5a52e941b5 added 'setupGcForForeignThread' for better C interop 2014-12-11 23:29:26 +01:00
Araq
a639824e5e introduced 'benign' pragma 2014-10-25 22:01:23 +02:00
Araq
2f43fdb837 renamefest 2014-08-23 01:43:49 +02:00
Araq
fc0fda14ae system files use new identifiers 2014-08-23 00:58:04 +02:00
Araq
dbf9117c56 the big renamefest: first steps 2014-08-22 23:54:26 +02:00
Araq
dd806cafa0 distinguish between 'defined' and 'declared' 2014-08-11 20:38:28 +02:00
Araq
3b69a8d27a New concurrency model: next steps 2014-04-19 22:24:43 +02:00
Araq
42a8ab34f1 preparations for easier debugging 2014-04-07 23:28:29 +02:00
Araq
ac3bce79d1 compiles on sparc again 2014-02-09 01:34:17 +01:00
Araq
73c6efdf66 'nil' as a statement is deprecated, use an empty 'discard' instead 2014-01-19 16:54:59 +01:00
Araq
b731e6ef1c case consistency: cs:partial bootstraps on windows 2013-12-29 03:19:10 +01:00
Araq
438703f59e case consistency: next steps 2013-12-29 01:13:51 +01:00
Araq
1101a40f91 improvements for 'pretty' 2013-12-28 23:30:53 +01:00
Araq
92b8fac94a case consistency part 4 2013-12-27 23:10:36 +01:00
Araq
2df9b442c6 case consistency part 1 2013-12-27 15:48:53 +01:00
Araq
132b6b3efe implemented 'injectStmt'; more debug support 2013-12-16 22:26:17 +01:00
Araq
fe983b1309 fixes a regression where memset was used without including <string.h> 2013-12-03 01:59:38 +01:00
Araq
f73cec7f01 GC: even more stress testing 2013-10-31 22:32:27 +01:00
Araq
f857a842fc debug GC works now 2013-10-01 17:14:30 +02:00
Araq
1a792d46d0 first version of the debug GC; doesn't work yet 2013-10-01 08:44:09 +02:00
Araq
6cc06cd35d fixes #569; C++ codegen works again 2013-08-31 02:07:52 +02:00
Araq
3940bd5b84 GC: added static cycleGC checks 2013-08-22 19:20:45 +02:00
Araq
db027faf38 fixes a long standing channels bug 2013-08-09 00:25:31 +02:00
Araq
0f2aa053d9 added GC_addCycleRoot 2013-02-12 08:45:01 +01:00
Araq
5e7dd69b00 GC: incRef needs to add cycleroots 2013-02-12 08:28:46 +01:00
Araq
3d7abb958d open arrays documented in the manual 2013-02-10 15:06:25 +01:00
Araq
0bb3731422 working cycle collector for old GC 2013-02-10 02:59:36 +01:00