<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"><<a href="mailto:smalltalk@stefan-marr.de" target="_blank">smalltalk@stefan-marr.de</a>></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 <<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>> wrote:<br>
> In the StackInterpreterSimulator, the various #run… methods do unconditionally the initialization of stack pages and initial context.<br>
> This looks wrong to me, especially since the comment of #runForNBytes: says that I should be able to use it repeatedly.<br>
> I would move the initialization to #initializeInterpreter: in StackInterpreterSimulator and remove it from all the run methods. See [1].<br>
><br>
> I agree. This would be really nice. But alas the stack zone must be alloca’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. I think you may be right. I'll give it a go.</div>
<div> </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>
> I see this occasionally and don't understand the code well enough to fix it. But it seems a false error. if you proceed through the inconsistent value errors the system keeps on running. Is there anyone out there who understands the BalloonPlugin well enough to fix it? I’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’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>