<br><br><div class="gmail_quote">On Mon, Mar 19, 2012 at 3:17 PM, Bert Freudenberg <span dir="ltr">&lt;<a href="mailto:bert@freudenbergs.de">bert@freudenbergs.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Mea culpa! But thank you :)<br></blockquote><div><br></div><div>you&#39;re most welcome :)</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<font color="#888888"><br>
- Bert -<br>
</font><div><div></div><div class="h5"><br>
On 19.03.2012, at 21:51, <a href="mailto:commits@source.squeak.org">commits@source.squeak.org</a> wrote:<br>
<br>
&gt; Eliot Miranda uploaded a new version of Kernel to project The Trunk:<br>
&gt; <a href="http://source.squeak.org/trunk/Kernel-eem.675.mcz" target="_blank">http://source.squeak.org/trunk/Kernel-eem.675.mcz</a><br>
&gt;<br>
&gt; ==================== Summary ====================<br>
&gt;<br>
&gt; Name: Kernel-eem.675<br>
&gt; Author: eem<br>
&gt; Time: 19 March 2012, 2:51:13.711 pm<br>
&gt; UUID: 44dbc698-62dc-4f6b-afd0-c987fdadb1f7<br>
&gt; Ancestors: Kernel-eem.674<br>
&gt;<br>
&gt; Fix the improved decompileWithTempNames for doits<br>
&gt; without temp names. 673 breaks e.g.<br>
&gt;       DecompilerTests new testRemoteTemp<br>
&gt;<br>
&gt; =============== Diff against Kernel-eem.674 ===============<br>
&gt;<br>
&gt; Item was changed:<br>
&gt;  ----- Method: CompiledMethod&gt;&gt;decompileWithTemps (in category &#39;decompiling&#39;) -----<br>
&gt;  decompileWithTemps<br>
&gt; +     &quot;Return the decompiled parse tree that represents self, but with the temp names obtained<br>
&gt; +      either by compiling the sourcecode, or directly if the method has temps in its trailer.&quot;<br>
&gt; -     &quot;Return the decompiled parse tree that represents self, but with the temp names<br>
&gt; -      either by compiling the sourcecode, or direct if the method has temps in its trailer.&quot;<br>
&gt;<br>
&gt; +     | class selector tempNames source |<br>
&gt; -     |  class selector tempNames |<br>
&gt;       class := self methodClass ifNil: [Object].<br>
&gt;       selector := self selector ifNil: [self defaultSelector].<br>
&gt;<br>
&gt; +     self holdsTempNames<br>
&gt; +             ifTrue: [tempNames := self tempNamesString]<br>
&gt; +             ifFalse:<br>
&gt; +                     [&quot;No source file or no source (e.g. doits) and no temp names<br>
&gt; +                      -- decompile without temp names &quot;<br>
&gt; +                     ((self fileIndex &gt; 0 and: [(SourceFiles at: self fileIndex) isNil])<br>
&gt; +                     or: [(source := self getSourceFromFile) isNil]) ifTrue:<br>
&gt; +                             [^self decompile].<br>
&gt; +                     tempNames := (class newCompiler<br>
&gt; +                                                                     parse: source asString<br>
&gt; -     (self fileIndex &gt; 0 and: [(SourceFiles at: self fileIndex) isNil]) ifTrue:<br>
&gt; -             &quot;Emergency or no source file -- decompile without temp names &quot;<br>
&gt; -             [^self decompile].<br>
&gt; -<br>
&gt; -     tempNames := self holdsTempNames<br>
&gt; -                                     ifTrue: [self tempNamesString]<br>
&gt; -                                     ifFalse: [(class newCompiler<br>
&gt; -                                                                     parse: self getSourceFromFile asString<br>
&gt;                                                                       in: class<br>
&gt;                                                                       notifying: nil)<br>
&gt;                                                                               generate: CompiledMethodTrailer defaultMethodTrailer;<br>
&gt;                                                                               schematicTempNamesString].<br>
&gt; +<br>
&gt;       ^(self decompilerClass new withTempNames: tempNames)<br>
&gt;               decompile: selector<br>
&gt;               in: class<br>
&gt;               method: self methodForDecompile!<br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>best,<div>Eliot</div><br>