logo       

Re: Can't make a stack from a continuation: msg#00121

lisp.guile.devel

Subject: Re: Can't make a stack from a continuation

Neil Jerram <neil@xxxxxxxxxxxxxxxxx> writes:

> This change (calculating and storing the offset in
> scm_make_continuation) makes sense, but I'd like also to understand
> where the bug was in my version (using offset = (SCM_CONTREGS
> (stack) -> stack) - SCM_BASE (stack);) and why my code worked in 1.6
> but not in head. Would you mind explaining?

Hmm, I didn't really try to debug your patch. I followed its idea of
also relocating dframe->vect and made the changes that seemed right.

Using offset = SCM_CONTREGS (stack)->stack - SCM_BASE(stack) looks
right. The bug is probably elsewhere...

> PS. Merry Christmas!

Thanks and Merry Christmas from me to everyone as well!

(I got a high-tech electric iron in transparent iMac design from my
mom! :-)

--
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405


_______________________________________________
Bug-guile mailing list
Bug-guile@xxxxxxx
http://lists.gnu.org/mailman/listinfo/bug-guile



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise