win64: stack-trace repair: add cached tail to trace
This commit is contained in:
parent
906ddb7fbf
commit
cf120bc4a6
|
@ -291,7 +291,15 @@ Scheme_Object *scheme_native_stack_trace(void)
|
|||
}
|
||||
}
|
||||
|
||||
return first;
|
||||
if (last)
|
||||
SCHEME_CDR(last) = tail;
|
||||
else
|
||||
first = tail;
|
||||
|
||||
if (SCHEME_NULLP(first))
|
||||
return NULL;
|
||||
else
|
||||
return first;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user