mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-27 21:40:34 +02:00
Merge remote-tracking branch 'whippet/main' into wip-whippet
This commit is contained in:
commit
fd921be76c
5 changed files with 29 additions and 0 deletions
|
@ -187,6 +187,11 @@ void gc_collect(struct gc_mutator *mut,
|
|||
}
|
||||
}
|
||||
|
||||
int gc_heap_contains(struct gc_heap *heap, struct gc_ref ref) {
|
||||
GC_ASSERT(gc_ref_is_heap_object(ref));
|
||||
return GC_base(gc_ref_heap_object(ref)) != 0;
|
||||
}
|
||||
|
||||
int gc_object_is_old_generation_slow(struct gc_mutator *mut,
|
||||
struct gc_ref obj) {
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue