[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squirrelfish-dev
Subject:    Re: [squirrelfish] block scope status, march edition
From:       Oliver Hunt <oliver () apple ! com>
Date:       2012-03-26 20:01:52
Message-ID: 5F3BC0C1-392A-4639-85D4-65698F6A7F0D () apple ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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


[Attachment #5 (text/html)]

<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; \
-webkit-line-break: after-white-space; "><br><div><div>On Mar 26, 2012, at 12:24 PM, \
Gavin Barraclough wrote:</div><br class="Apple-interchange-newline"><blockquote \
type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; \
-webkit-line-break: after-white-space; "><div><div>On Mar 26, 2012, at 9:01 AM, Andy \
Wingo wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span \
class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; \
font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: \
normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; \
text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; \
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; \
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; \
-webkit-text-stroke-width: 0px; font-size: medium; ">This doesn't work because we \
need to be able to tear off block scopes on<br>an exceptional exit. &nbsp;So my \
current strategy will be to add a flag to<br>codeblocks that push items onto the \
scope chain, hasLocalScopeChain() or<br>so. &nbsp;We'll reserve a register to hold \
the local scope chain, also stored<br>in the \
codeblock.<br></span></blockquote><div><br></div><div>Sounds sensible. &nbsp;It might \
help to keep this at a fixed location, save having to look up the register number \
every time. &nbsp;We may be able to ensure this is always the first register \
allocated, if needed, &amp; always in local 0? &nbsp;Just a \
thought.</div></div></div></blockquote><div><br></div><div>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. \
&nbsp;No need for a specific constant \
location.</div><div><br></div><div>--Oliver</div><br><blockquote type="cite"><div \
style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: \
after-white-space; "><br><div>G.</div><div><br></div></div>_______________________________________________<br>squirrelfish-dev \
mailing list<br><a href="mailto:squirrelfish-dev@lists.webkit.org">squirrelfish-dev@li \
sts.webkit.org</a><br>http://lists.webkit.org/mailman/listinfo.cgi/squirrelfish-dev<br></blockquote></div><br></body></html>




_______________________________________________
squirrelfish-dev mailing list
squirrelfish-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/squirrelfish-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic