mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-19 10:10:23 +02:00
Add "extern space"
This is mostly for static data.
This commit is contained in:
parent
da5a4633df
commit
fbe49598f5
7 changed files with 77 additions and 3 deletions
|
@ -18,6 +18,18 @@ gc_is_valid_conservative_ref_displacement(uintptr_t displacement) {
|
|||
#endif
|
||||
}
|
||||
|
||||
// No external objects in simple benchmarks.
|
||||
static inline int gc_extern_space_mark(struct gc_extern_space *space,
|
||||
struct gc_ref ref) {
|
||||
GC_CRASH();
|
||||
}
|
||||
static inline void gc_extern_space_start_gc(struct gc_extern_space *space,
|
||||
int is_minor_gc) {
|
||||
}
|
||||
static inline void gc_extern_space_finish_gc(struct gc_extern_space *space,
|
||||
int is_minor_gc) {
|
||||
}
|
||||
|
||||
static inline void gc_trace_object(struct gc_ref ref,
|
||||
void (*trace_edge)(struct gc_edge edge,
|
||||
struct gc_heap *heap,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue