<br><br><div class="gmail_quote">On Sat, Nov 6, 2010 at 4:18 PM, Esteban Lorenzano <span dir="ltr"><<a href="mailto:estebanlm@gmail.com">estebanlm@gmail.com</a>></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 "inlining step X" is taking for years... is that normal?<br></blockquote><div><br></div><div>No, and it's usually because of a recursion, e.g.</div><div> Interpreter>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, "David T. Lewis" <<a href="mailto:lewis@mail.msen.com" target="_blank">lewis@mail.msen.com</a>> 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'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>
'From Pharo-1.1.1-- of 12 September 2010 [Latest update: #11414] on 6<br>
November 2010 at 3:00:14 pm'!<br>
<br>
!String methodsFor: '*VMMaker-Translation to C' stamp: 'dtl 10/25/2009<br>
14:31'!<br>
replaceLastOccurrence: oldSubstring with: newSubstring "Answer a<br>
copy with the last occurrence of oldSubstring replaced by newSubstring."<br>
<br>
" 'int i' replaceLastOccurrence: 'i' with: 'i2' "<br>
" 'void *v' replaceLastOccurrence: 'v' with: 'v2' "<br>
" 'int intxintxintx' replaceLastOccurrence: 'i' with: 'I2' "<br>
" 'int intxintxintx' replaceLastOccurrence: 'FOO' with: 'BAR' "<br>
" 'int intxintxintx' replaceLastOccurrence: '' with: 'BAZ' "<br>
<br>
^ self class streamContents: [:ws | | pos rs | rs<br>
:= ReadStream on: self.<br>
pos := self findLastOccuranceOfString: oldSubstring<br>
startingAt: 1.<br>
pos > 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'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>