<br><br><div class="gmail_quote">On Sat, Nov 6, 2010 at 4:18 PM, Esteban Lorenzano <span dir="ltr">&lt;<a href="mailto:estebanlm@gmail.com">estebanlm@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>
mmm... now the &quot;inlining step X&quot; is taking for years... is that normal?<br></blockquote><div><br></div><div>No, and it&#39;s usually because of a recursion, e.g.</div><div>     Interpreter&gt;someMethod</div><div>
        self someMethod</div><div><br></div><div>IIRC, this will inline for ever.</div><div><br></div><div><br></div><div>HTH</div><div>Eliot</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<br>
Cheers,<br>
Esteban<br>
<br>
On 2010-11-06 18:08:59 -0300, &quot;David T. Lewis&quot; &lt;<a href="mailto:lewis@mail.msen.com" target="_blank">lewis@mail.msen.com</a>&gt; said:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
On Sat, Nov 06, 2010 at 07:33:37PM +0100, Levente Uzonyi wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
On Sat, 6 Nov 2010, Esteban Lorenzano wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Hi,<br>
I&#39;m trying to generate a vm... loading ConfigurationOfVMMaker version 1.4,<br>
then updating WMMaker package to latest version (200), but the generator,<br>
it is sending a DNU:<br>
<br>
while calling:<br>
<br>
&#39;From Pharo-1.1.1-- of 12 September 2010 [Latest update: #11414] on 6<br>
November 2010 at 3:00:14 pm&#39;!<br>
<br>
!String methodsFor: &#39;*VMMaker-Translation to C&#39; stamp: &#39;dtl 10/25/2009<br>
14:31&#39;!<br>
replaceLastOccurrence: oldSubstring with: newSubstring  &quot;Answer a<br>
copy with the last occurrence of oldSubstring replaced by newSubstring.&quot;<br>
<br>
        &quot; &#39;int i&#39; replaceLastOccurrence: &#39;i&#39; with: &#39;i2&#39; &quot;<br>
        &quot; &#39;void *v&#39; replaceLastOccurrence: &#39;v&#39; with: &#39;v2&#39; &quot;<br>
        &quot; &#39;int intxintxintx&#39; replaceLastOccurrence: &#39;i&#39; with: &#39;I2&#39; &quot;<br>
        &quot; &#39;int intxintxintx&#39; replaceLastOccurrence: &#39;FOO&#39; with: &#39;BAR&#39; &quot;<br>
        &quot; &#39;int intxintxintx&#39; replaceLastOccurrence: &#39;&#39; with: &#39;BAZ&#39; &quot;<br>
<br>
        ^ self class streamContents: [:ws | | pos rs |                  rs<br>
        := ReadStream on: self.<br>
                        pos := self findLastOccuranceOfString: oldSubstring<br>
startingAt: 1.<br>
                        pos &gt; 0 ifTrue: [ws nextPutAll: (rs next: pos - 1);<br>
nextPutAll: newSubstring.<br>
                                                rs next: oldSubstring size].<br>
                        ws nextPutAll: rs upToEnd]! !<br>
<br>
<br>
the DNU is with:<br>
        findLastOccuranceOfString: oldSubstring startingAt: 1<br>
</blockquote>
<br>
It&#39;s a typo that should be fixed in VMMaker. The correct method name is<br>
findLastOccurr_e_nceOfString:startingAt: without the underscores.<br>
</blockquote>
<br>
Fixed in VMMaker-dtl.201.<br>
<br>
This was a left over reference to the deprecated #findLastOccuranceOfString:startingAt:<br>
which is still present in the VMMaker package but should no longer have been<br>
in use. Thanks for finding it.<br>
<br>
Dave<br>
</blockquote>
<br>
<br>
<br>
</blockquote></div><br>