Work on functions
This commit is contained in:
@@ -165,7 +165,8 @@ static inline void make_grey_if_while(LispVal *val) {
|
||||
}
|
||||
|
||||
static void mark_object(LispVal *val) {
|
||||
if (!OBJECTP(val) || OBJECT_GC_SET_P(val, GC_BLACK)) {
|
||||
// check for null for newly constructed objects
|
||||
if (!val || !OBJECTP(val) || OBJECT_GC_SET_P(val, GC_BLACK)) {
|
||||
return;
|
||||
}
|
||||
switch (((LispObject *) val)->type) {
|
||||
|
||||
Reference in New Issue
Block a user