[squeak-dev] Re: Forks, forks, forks

Eliot Miranda eliot.miranda at gmail.com
Fri Jul 3 15:20:51 UTC 2009


Hi Paolo

On Thu, Jul 2, 2009 at 11:49 PM, Paolo Bonzini <bonzini at gnu.org> wrote:

> > (e.g. making senders/implementors work in the host on the new format
> > methods).
>
> Why?  Shouldn't polymorphism just handle it by executing
> MCompiledMethod>>#sends: and MBehavior>>#includesSelector:?
>
> (This is the part I loved the most when I realized it).


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.

How did you solve it?



>
> Paolo
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20090703/3c3c604a/attachment.htm


More information about the Squeak-dev mailing list