On Mar 26, 2012, at 12:24 PM, Gavin Barraclough wrote:
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.
We already make specific assumptions about the location of the arguments and activation registers being stored in early registers, we just need to store which index is being used in the same way. No need for a specific constant location. --Oliver
G.
_______________________________________________ squirrelfish-dev mailing list squirrelfish-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/squirrelfish-dev