Hi Paolo<br><br><div class="gmail_quote">On Thu, Jul 2, 2009 at 11:49 PM, Paolo Bonzini <span dir="ltr">&lt;<a href="mailto:bonzini@gnu.org">bonzini@gnu.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">&gt; (e.g. making senders/implementors work in the host on the new format<br>
&gt; methods).<br>
<br></div>
Why?  Shouldn&#39;t polymorphism just handle it by executing MCompiledMethod&gt;&gt;#sends: and MBehavior&gt;&gt;#includesSelector:?<br>
<br>
(This is the part I loved the most when I realized it).</blockquote><div><br></div><div>If the M hierarchy is using a new bytecode set then either MCompiledMethod&gt;&gt;#sends: isn&#39;t executable by the host VM because it isn&#39;t in the host&#39;s bytecode set or there are two sets of methods, one in the hosts&#39;s bytecode set that gets run in the host and one in the new set that gets output to the image.</div>
<div><br></div><div>How did you solve it?</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br><font color="#888888">
<br>
Paolo<br>
<br>
</font></blockquote></div><br>