mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-28 14:00:31 +02:00
Add gc_object_is_old_generation
Will be useful for write barriers.
This commit is contained in:
parent
42bf36d7cc
commit
1493bf6398
12 changed files with 119 additions and 4 deletions
|
@ -40,6 +40,13 @@ static inline int gc_allocator_needs_clear(void) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
static inline enum gc_old_generation_check_kind gc_old_generation_check_kind(size_t) {
|
||||
return GC_OLD_GENERATION_CHECK_NONE;
|
||||
}
|
||||
static inline uint8_t gc_old_generation_check_alloc_table_bit_pattern(void) {
|
||||
GC_CRASH();
|
||||
}
|
||||
|
||||
static inline enum gc_write_barrier_kind gc_write_barrier_kind(size_t) {
|
||||
return GC_WRITE_BARRIER_NONE;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue