<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Feb 14, 2014 at 2:55 PM, Stefan Marr <span dir="ltr">&lt;<a href="mailto:smalltalk@stefan-marr.de" target="_blank">smalltalk@stefan-marr.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi Eliot:<br>
<div class="im"><br>
On 14 Feb 2014, at 23:48, Eliot Miranda &lt;<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>&gt; wrote:<br>
&gt; In the StackInterpreterSimulator, the various #run&hellip; methods do unconditionally the initialization of stack pages and initial context.<br>
&gt; This looks wrong to me, especially since the comment of #runForNBytes: says that I should be able to use it repeatedly.<br>
&gt; I would move the initialization to #initializeInterpreter: in StackInterpreterSimulator and remove it from all the run methods. See [1].<br>
&gt;<br>
&gt; I agree. &nbsp;This would be really nice. &nbsp;But alas the stack zone must be alloca&rsquo;ed when first entering the interpreter :-(.<br>
<br>
</div>My change is purely in the simulator. I doubt that it has any negative consequences. At least with my superficial understanding.<br></blockquote><div><br></div><div>Good point. &nbsp;I think you may be right. &nbsp;I&#39;ll give it a go.</div>
<div>&nbsp;</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
See <a href="https://github.com/smarr/pharo-vm/commit/114f5b3db0ff2185ca5eac0d033eb95b99f524cb#diff-b2529d6fc3563268fce5d2024df3143fL79" target="_blank">https://github.com/smarr/pharo-vm/commit/114f5b3db0ff2185ca5eac0d033eb95b99f524cb#diff-b2529d6fc3563268fce5d2024df3143fL79</a><br>

<div class="im"><br>
<br>
<br>
&gt; I see this occasionally and don&#39;t understand the code well enough to fix it. &nbsp;But it seems a false error. &nbsp;if you proceed through the inconsistent value errors the system keeps on running. &nbsp;Is there anyone out there who understands the BalloonPlugin well enough to fix it? &nbsp;I&rsquo;ve tweaked out some of the errors (and not broken anything) but it is not something I understand.<br>

<br>
</div>Same here, but I actually didn&rsquo;t try to skip them.<br>
<br>
Hope some people start using the simulator now and will report back.<br>
<br>
Best regards<br>
<span class="HOEnZb"><font color="#888888">Stefan<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
--<br>
Stefan Marr<br>
INRIA Lille - Nord Europe<br>
<a href="http://stefan-marr.de/research/" target="_blank">http://stefan-marr.de/research/</a><br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>best,<div>Eliot</div>
</div></div>