X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fbacktrace.c;h=e43f96d0d23ef1841f764d430f585d7c29d6458e;hb=f143939b1dbaf38ebd4f92c851fbc4ecddf37af1;hp=78955973f1eb5c23f940b3af358ff3c65e1ad69c;hpb=be9eb6c67b5f43a095c3de17bea945c309d662e4;p=sbcl.git diff --git a/src/runtime/backtrace.c b/src/runtime/backtrace.c index 7895597..e43f96d 100644 --- a/src/runtime/backtrace.c +++ b/src/runtime/backtrace.c @@ -72,8 +72,8 @@ code_pointer(lispobj object) case type_CodeHeader: break; case type_ReturnPcHeader: - case type_FunctionHeader: - case type_ClosureFunctionHeader: + case type_SimpleFunHeader: + case type_ClosureFunHeader: len = HEADER_LENGTH(header); if (len == 0) headerp = NULL; @@ -114,7 +114,7 @@ call_info_from_context(struct call_info *info, os_context_t *context) info->interrupted = 1; if (LowtagOf(*os_context_register_addr(context, reg_CODE)) - == type_FunctionPointer) { + == type_FunPointer) { /* We tried to call a function, but crapped out before $CODE could * be fixed up. Probably an undefined function. */ info->frame = @@ -215,10 +215,10 @@ backtrace(int nframes) function = ((struct code *)info.code)->entry_points; #endif while (function != NIL) { - struct function *header; + struct simple_fun *header; lispobj name; - header = (struct function *) native_pointer(function); + header = (struct simple_fun *) native_pointer(function); name = header->name; if (LowtagOf(name) == type_OtherPointer) {