Initial tricolor gc
This commit is contained in:
@ -43,11 +43,13 @@ static ALWAYS_INLINE LispVal *XCDR_SAFE(LispVal *cons) {
|
||||
static ALWAYS_INLINE void RPLACA(LispVal *cons, LispVal *newcar) {
|
||||
assert(CONSP(cons));
|
||||
((LispCons *) cons)->car = newcar;
|
||||
MARK_OBJECT_ADDED(newcar, cons);
|
||||
}
|
||||
|
||||
static ALWAYS_INLINE void RPLACD(LispVal *cons, LispVal *newcdr) {
|
||||
assert(CONSP(cons));
|
||||
((LispCons *) cons)->cdr = newcdr;
|
||||
MARK_OBJECT_ADDED(newcdr, cons);
|
||||
}
|
||||
|
||||
static ALWAYS_INLINE LispVal *LIST1(LispVal *v1) {
|
||||
|
||||
Reference in New Issue
Block a user