<br><br><div class="gmail_quote">On Thu, Apr 30, 2009 at 8:59 AM, Igor Stasenko <span dir="ltr">&lt;<a href="mailto:siguctua@gmail.com">siguctua@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>
2009/4/30 Eliot Miranda &lt;<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>&gt;:<br>
<div class="im">&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Thu, Apr 30, 2009 at 8:43 AM, Igor Stasenko &lt;<a href="mailto:siguctua@gmail.com">siguctua@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; There are multiple issues, when loading VMMaker into closure-aware<br>
&gt;&gt; image (10292).<br>
&gt;&gt;<br>
&gt;&gt; two #needsToRegenerateInterpreterFile methods<br>
&gt;&gt; storing into block args. Fix is easy and quick.<br>
&gt;&gt;<br>
&gt;&gt; But what to do with this??<br>
&gt;&gt;<br>
&gt;&gt; Compiler reporting &#39;stack including temps is too deep&#39;.<br>
&gt;&gt;<br>
&gt;&gt; GeniePlugin&gt;&gt;primSameClassAbsoluteStrokeDistanceMyPoints: myPointsOop<br>
&gt;&gt; otherPoints: otherPointsOop myVectors: myVectorsOop otherVectors:<br>
&gt;&gt; otherVectorsOop mySquaredLengths: mySquaredLengthsOop<br>
&gt;&gt; otherSquaredLengths: otherSquaredLengthsOop myAngles: myAnglesOop<br>
&gt;&gt; otherAngles: otherAnglesOop maxSizeAndReferenceFlag: maxSizeAndRefFlag<br>
&gt;&gt; rowBase: rowBaseOop rowInsertRemove: rowInsertRemoveOop<br>
&gt;&gt; rowInsertRemoveCount: rowInsertRemoveCountOop<br>
&gt;&gt;<br>
&gt;&gt; (yes, this is a method&#39;s message pattern) :)<br>
&gt;&gt;<br>
&gt;&gt; i stopped trying to load VMMaker at this method.<br>
&gt;<br>
&gt; The workaround for this is just to change the code in generate: so one can proceed from the error and still define the method. The method doesn&#39;t need to be run, only translated so there&#39;s no harm in that.  Some time some kind soul should refactor this method  into an outer and an inner or I should change the large context sizes.<br>

<br>
</div>Changing the code in #generate: will buy us nothing, because this<br>
error thrown when MC loads a package in image, and naturally, tries to<br>
compile &amp; install all methods from it :)</blockquote><div><br></div><div>Once you have it in the image Monticello won&#39;t try and recompile it if it doesn&#39;t change.  This is a one-time pain per image.</div><div>
<br></div><div>Another workaround is just to move the GeniePlugin somewhere else.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
<div class="im"><br>
&gt;&gt;<br>
&gt;&gt; It would be nice to have VMMaker loaded in image+closures running<br>
&gt;&gt; under VM+closures :)<br>
&gt;<br>
&gt; Just do the workaround and you&#39;ll have just that.<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Best regards,<br>
&gt;&gt; Igor Stasenko AKA sig.<br>
&gt;<br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
</div>--<br>
<div><div></div><div class="h5">Best regards,<br>
Igor Stasenko AKA sig.<br>
</div></div></blockquote></div><br>