Jeff Clites <[EMAIL PROTECTED]> wrote:
> On Jan 7, 2004, at 1:46 AM, Leopold Toetsch wrote:
>> That part is already answered: create a buffer_like structure.
>> *But* again register backing stacks are *not* in the interpreter
>> context.

> I don't understand what you are getting at. They are not physically
> part of Parrot_Interp.ctx, but it holds pointers to them, right?

No, they were in the context but aren't any more.

> ... So,
> they need to be copied when the context is being duplicated. Is that
> your point, or are you trying to say that they are not _logically_ part
> of the context, or are not supposed to be?

Exactly the latter:
That was AFAIK a design decision, when Dan did introduce CPS. At this
time register backing stacks went out of the continuation or whatelse
context - IIRC did Dan commit that to CVS himself.

So register stacks are *not* included in any context swapping, being it
a Continuation or some other context switch. That's it.

> JEff

leo

Reply via email to