X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fglobals.c;h=5c0cd1dd4ce95d747feac031d69e2dfff7270781;hb=6793d7dd32d1fa48d2ee395e240e1b7ff857912e;hp=9eec708dc51e938979452ead618d2c4d7ceb86d7;hpb=1d329efe312141d5385af1d2e98f72f938b5f7b6;p=sbcl.git diff --git a/src/runtime/globals.c b/src/runtime/globals.c index 9eec708..5c0cd1d 100644 --- a/src/runtime/globals.c +++ b/src/runtime/globals.c @@ -26,8 +26,12 @@ int foreign_function_call_active; #endif +#if !defined(LISP_FEATURE_SB_THREAD) && !defined(LISP_FEATURE_C_STACK_IS_CONTROL_STACK) lispobj *current_control_stack_pointer; +#endif +#if defined(LISP_FEATURE_X86) || defined(LISP_FEATURE_X86_64) || !defined(LISP_FEATURE_SB_THREAD) lispobj *current_control_frame_pointer; +#endif #if !defined(BINDING_STACK_POINTER) && !defined(LISP_FEATURE_SB_THREAD) lispobj *current_binding_stack_pointer; #endif @@ -56,7 +60,9 @@ void globals_init(void) { /* Space, stack, and free pointer vars are initialized by * validate() and coreparse(). */ +#if defined(LISP_FEATURE_X86) || defined(LISP_FEATURE_X86_64) || !defined(LISP_FEATURE_SB_THREAD) current_control_frame_pointer = (lispobj *)0; +#endif #ifndef LISP_FEATURE_GENCGC /* no GC trigger yet */