On Jan 8, 2004, at 4:24 AM, Leopold Toetsch wrote:

Jeff Clites <[EMAIL PROTECTED]> wrote:

I think I'm just being dense, but looking at
include/parrot/interpreter.h it appears that they are in the context:

Sorry, yes. They are in the context but not saved. I mixed that up with the registers themselves, which went out of the context.

Okay--thanks for the confirmation.


So it looks like currently if a continuation is activated after the stack frame in which it was created has exited, then interpreter->ctx.int_reg_top may point to garbage (since the frame _pointers_ are inside of the saved/restored context), so we'll end up with indeterminate behavior. I don't think we have any guards against that in place.

JEff



Reply via email to