Commit graph

1095 commits

Author SHA1 Message Date
Justin Ethier
a6fc199907 Bugfix in allocating cons cell, cdr was being set to null.
Also updated move2heap code to use 'hp' as the destination object. Using hobj and obj seemed to be asking for trouble.
2015-10-19 22:02:45 -04:00
Justin Ethier
1664e20d4c Initialize elts member during heap allocation 2015-10-20 02:20:48 -04:00
Justin Ethier
137305bbc9 Bug fixes 2015-10-20 02:13:31 -04:00
Justin Ethier
fb389a019f More bug fixes 2015-10-20 01:57:16 -04:00
Justin Ethier
20e71fff3b Bug fixes 2015-10-20 01:54:15 -04:00
Justin Ethier
87def0fc67 Noted TODO 2015-10-20 00:33:42 -04:00
Justin Ethier
1505274640 Explicit GC of globals during minor collection, at least for now 2015-10-20 00:17:53 -04:00
Justin Ethier
cc4b3f36b4 Added TODO 2015-10-19 22:44:47 -04:00
Justin Ethier
90e2fdb1f5 Finished adding types to new GC functions 2015-10-19 22:41:28 -04:00
Justin Ethier
0f9ab2670d Added TODO 2015-10-16 23:05:22 -04:00
Justin Ethier
7e37e1710d Build-out of most of the GC move cases 2015-10-16 23:04:40 -04:00
Justin Ethier
9895029a90 Added remaining types to scanning section 2015-10-16 21:53:26 -04:00
Justin Ethier
b08f68cf52 Perform major GC if necessary 2015-10-17 02:25:22 -04:00
Justin Ethier
5ed84d5332 Loop over allocated space 2015-10-17 02:14:01 -04:00
Justin Ethier
dfdfd52a54 Added move to buffer function 2015-10-17 02:02:55 -04:00
Justin Ethier
076a9316e0 Added notes 2015-10-16 22:44:42 -04:00
Justin Ethier
e941b19db4 Added moveBuf and helper functions 2015-10-16 22:14:52 -04:00
Justin Ethier
d7640c988b Added gc_move, but still need to build it out 2015-10-15 22:52:38 -04:00
Justin Ethier
3363bf477d Working on gc_move2heap 2015-10-16 02:18:09 -04:00
Justin Ethier
e2f8a93439 WIP 2015-10-15 22:38:27 -04:00
Justin Ethier
fba366c7f9 Added notes 2015-10-15 18:39:48 -04:00
Justin Ethier
2db7a2e86c WIP 2015-10-14 23:01:58 -04:00
Justin Ethier
3a68ce5a32 WIP, integrating directly with cyclone 2015-10-14 22:48:38 -04:00
Justin Ethier
057c40eba8 Added more notes 2015-10-14 23:15:58 -04:00
Justin Ethier
e99301024a Added notes for switching GC's 2015-10-14 22:56:25 -04:00
Justin Ethier
241a54324d Merge remote-tracking branch 'origin/gc-dev2' into gc-dev2
Conflicts:
	include/cyclone/types.h
2015-10-13 22:48:14 -04:00
Justin Ethier
738fe0439e Bug fixes 2015-10-13 22:51:25 -04:00
Justin Ethier
722b303bb7 Bugfixes 2015-10-13 22:46:51 -04:00
Justin Ethier
338d46ac9e Added notes 2015-10-13 22:32:17 -04:00
Justin Ethier
c332e84eac Switched order of parameters in Cyc_string_append 2015-10-13 21:50:06 -04:00
Justin Ethier
94366294da Added TODO 2015-10-12 22:56:51 -04:00
Justin Ethier
1bc65d99cd Working on converting string_append to call into cont 2015-10-12 22:49:31 -04:00
Justin Ethier
e6880850bc Update how GC handles strings in memory 2015-10-12 21:57:30 -04:00
Justin Ethier
85cff010b6 Added TODO's for GC of strings, now that storage has changed 2015-10-13 02:41:35 -04:00
Justin Ethier
ba167dfcd3 notes 2015-10-13 02:33:42 -04:00
Justin Ethier
2a058a5204 WIP - compile string_type changes 2015-10-12 22:39:29 -04:00
Justin Ethier
57ebc43e56 Fix off-by-one error 2015-10-12 22:38:09 -04:00
Justin Ethier
ce95299919 Removed old type mappings 2015-10-10 23:28:55 -04:00
Justin Ethier
53aad98d71 Converted Cyc-installation-dir 2015-10-10 22:18:54 -04:00
Justin Ethier
09515b2141 Converted substring 2015-10-10 22:04:36 -04:00
Justin Ethier
11d15842ba Added more make string macros and fixed related bugs 2015-10-09 23:30:47 -04:00
Justin Ethier
72917f4fbb Converting make_string functions 2015-10-09 22:24:43 -04:00
Justin Ethier
d027b85a64 Setting stage to change how strings are stored 2015-10-10 02:22:14 -04:00
Justin Ethier
b7d13e6899 WIP 2015-10-10 02:21:10 -04:00
Justin Ethier
9579a803bf WIP, changing how strings are allocated 2015-10-09 22:39:21 -04:00
Justin Ethier
e6b538f594 Remove strings from common_type 2015-10-09 22:11:30 -04:00
Justin Ethier
4f74b0c3f7 Added experimental GC code 2015-10-08 22:31:42 -04:00
Justin Ethier
f73b508eaf Incorporated experimental changes for GC 2015-10-08 22:00:39 -04:00
Justin Ethier
f8c8345a46 string_type fix 2015-10-07 22:35:28 -04:00
Justin Ethier
b3ca496e9a Bump version number 2015-09-14 22:01:28 -04:00