<br><br><div class="gmail_quote">On Wed, May 2, 2012 at 12:31 AM, Mariano Martinez Peck <span dir="ltr">&lt;<a href="mailto:marianopeck@gmail.com" target="_blank">marianopeck@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
 <br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="gmail_quote"><div><br>Actually, we do have:<br><br>namedTempAt: index<br>    &quot;Answer the value of the temp at index in the receiver&#39;s sequence of tempNames.&quot;<br>    ^self debuggerMap namedTempAt: index in: self<br>



<br>and<br><br>namedTempAt: index put: aValue<br>    &quot;Set the value of the temp at index in the receiver&#39;s sequence of tempNames.<br>     (Note that if the value is a copied value it is also set out along the lexical chain,<br>



      but alas not in along the lexical chain.).&quot;<br>    ^self debuggerMap namedTempAt: index put: aValue in: self<br><br>so, if I understand correctly all we need to do is to fix tempNamed: and tempNamedPut: so that the delegate to namedTempAt: and namedTempPut: rather than to tempAt: and tempAtPut:   ? <br>


</div></div></blockquote><div><br></div><div>Yes.</div><div> </div></div></div></blockquote><div><br>Now I was thinking, what happens with the rest of the senders of tempAt: and tempAtPut: ?  do I need to do something with them?<br>
</div></div></blockquote><div><br></div><div>Let me answer more carefully.  It depends.  For example, uses of tempAt: in ContextPart used to simulate the bytecode set are correct.  Uses in the Debugger are likely correct.  When I look in Squeal trunk 4.3 I an see all but one uses are correct and one, DiskProxy&gt;comeUpFullyOnReload:, is just scary:</div>
<div><br></div><div><div><span class="Apple-tab-span" style="white-space:pre">                </span>(DataStream compiledMethodAt: #readArray)]) ifTrue: [</div><div><span class="Apple-tab-span" style="white-space:pre">                                </span>arrayIndex := (thisContext sender sender sender sender) tempAt: 4.</div>
</div><div><br></div><div> :)</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_quote"><div>
 <br clear="all">Thanks<br></div></div><br>-- <br>Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>best,<div>Eliot</div><br>