X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fgencgc.c;h=7ebb353e8454cacbd7a55cb1f5e0b78c5391a9a1;hb=80f222325e1f677e5cf8de01c6990906fa47f65d;hp=ea90e342c0687494f3b458d6e00c5d2ea58eb257;hpb=8b64d57b865fec6ba082dda965146b5e8aa877b3;p=sbcl.git diff --git a/src/runtime/gencgc.c b/src/runtime/gencgc.c index ea90e34..7ebb353 100644 --- a/src/runtime/gencgc.c +++ b/src/runtime/gencgc.c @@ -49,8 +49,6 @@ void do_pending_interrupt(void); /* forward declarations */ int gc_find_freeish_pages(int *restart_page_ptr, int nbytes, int unboxed); -void gc_set_region_empty(struct alloc_region *region); -void gc_alloc_update_all_page_tables(void); static void gencgc_pickup_dynamic(void); boolean interrupt_maybe_gc_int(int, siginfo_t *, void *); @@ -4008,8 +4006,12 @@ char * alloc(int nbytes) { struct thread *th=arch_os_get_current_thread(); - struct alloc_region *region= + struct alloc_region *region= +#ifdef LISP_FEATURE_SB_THREAD th ? &(th->alloc_region) : &boxed_region; +#else + &boxed_region; +#endif void *new_obj; void *new_free_pointer;