On Mar 26, 2012, at 9:01 AM, Andy Wingo wrote:

> This doesn't work because we need to be able to tear off block scopes on
> an exceptional exit.  So my current strategy will be to add a flag to
> codeblocks that push items onto the scope chain, hasLocalScopeChain() or
> so.  We'll reserve a register to hold the local scope chain, also stored
> in the codeblock.

Sounds sensible.  It might help to keep this at a fixed location, save having 
to look up the register number every time.  We may be able to ensure this is 
always the first register allocated, if needed, & always in local 0?  Just a 
thought.

G.

_______________________________________________
squirrelfish-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/squirrelfish-dev

Reply via email to