X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fglobals.c;h=6152e258d2bab91ba9c2be2e535e0b91d4ce7496;hb=b870615b146940f661e5d0e9069ca4e16e9f483d;hp=96636d13e2c052c53f664db8b8214e170830f734;hpb=9f10bc102adce15a820027777a03e49a7b7623da;p=sbcl.git diff --git a/src/runtime/globals.c b/src/runtime/globals.c index 96636d1..6152e25 100644 --- a/src/runtime/globals.c +++ b/src/runtime/globals.c @@ -14,6 +14,8 @@ */ #include +#include +#include #include "runtime.h" #include "sbcl.h" @@ -28,9 +30,7 @@ lispobj *current_control_frame_pointer; lispobj *current_binding_stack_pointer; #endif -/* ALLOCATION_POINTER is more or less synonymous with RT, it seems. - * Anyone want to do an RT port of sbcl? - */ +/* ALLOCATION_POINTER is x86 or RT. Anyone want to do an RT port? */ #ifndef ALLOCATION_POINTER /* The Object Formerly Known As current_dynamic_space_free_pointer */ @@ -50,6 +50,7 @@ void globals_init(void) { /* Space, stack, and free pointer vars are initialized by * validate() and coreparse(). */ + current_control_frame_pointer = (lispobj *)0; #ifndef LISP_FEATURE_GENCGC /* no GC trigger yet */