mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-23 20:15:05 +02:00
Add opaque types to minor GC
This commit is contained in:
parent
c90db3e683
commit
af76a13116
1 changed files with 2 additions and 0 deletions
|
@ -2833,6 +2833,7 @@ char *gc_move(char *obj, gc_thread_data *thd, int *alloci, int *heap_grown) {
|
|||
}
|
||||
case forward_tag:
|
||||
return (char *)forward(obj);
|
||||
case c_opaque_tag: break;
|
||||
case eof_tag: break;
|
||||
case primitive_tag: break;
|
||||
case boolean_tag: break;
|
||||
|
@ -2966,6 +2967,7 @@ int gc_minor(void *data, object low_limit, object high_limit, closure cont, obje
|
|||
case cvar_tag:
|
||||
break;
|
||||
// These types are not heap-allocated
|
||||
case c_opaque_tag:
|
||||
case eof_tag:
|
||||
case primitive_tag:
|
||||
case symbol_tag:
|
||||
|
|
Loading…
Add table
Reference in a new issue