projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sb-bsd-sockets: foreign memory leak in GET-PROTOCOL-BY-NAME
[sbcl.git]
/
src
/
runtime
/
globals.c
diff --git
a/src/runtime/globals.c
b/src/runtime/globals.c
index
9eec708
..
63d53ed
100644
(file)
--- a/
src/runtime/globals.c
+++ b/
src/runtime/globals.c
@@
-26,8
+26,12
@@
int foreign_function_call_active;
#endif
int foreign_function_call_active;
#endif
+#if !defined(LISP_FEATURE_SB_THREAD)
lispobj *current_control_stack_pointer;
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;
lispobj *current_control_frame_pointer;
+#endif
#if !defined(BINDING_STACK_POINTER) && !defined(LISP_FEATURE_SB_THREAD)
lispobj *current_binding_stack_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(). */
{
/* 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;
current_control_frame_pointer = (lispobj *)0;
+#endif
#ifndef LISP_FEATURE_GENCGC
/* no GC trigger yet */
#ifndef LISP_FEATURE_GENCGC
/* no GC trigger yet */