Hi Paolo<br><br><div class="gmail_quote">On Thu, Jul 2, 2009 at 11:49 PM, Paolo Bonzini <span dir="ltr"><<a href="mailto:bonzini@gnu.org">bonzini@gnu.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">> (e.g. making senders/implementors work in the host on the new format<br>
> methods).<br>
<br></div>
Why? Shouldn't polymorphism just handle it by executing MCompiledMethod>>#sends: and MBehavior>>#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>>#sends: isn't executable by the host VM because it isn't in the host's bytecode set or there are two sets of methods, one in the hosts'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>