win64: stack-trace repair: add cached tail to trace

This commit is contained in:
Matthew Flatt 2012-09-12 11:30:48 -06:00
parent 906ddb7fbf
commit cf120bc4a6

View File

@ -291,6 +291,14 @@ Scheme_Object *scheme_native_stack_trace(void)
}
}
if (last)
SCHEME_CDR(last) = tail;
else
first = tail;
if (SCHEME_NULLP(first))
return NULL;
else
return first;
}
#endif