[Vm-dev] SmallInteger as Methods [WAS] Re: [Pharo-project] Ideas for CompiledMethod proxies?

Mariano Martinez Peck marianopeck at gmail.com
Tue Nov 23 17:54:18 UTC 2010


Thanks a lot David!

On Tue, Nov 23, 2010 at 6:47 PM, David T. Lewis <lewis at mail.msen.com> wrote:

>
> On Tue, Nov 23, 2010 at 12:03:01PM -0500, David T. Lewis wrote:
> >
> > Indeed you were right, the necessary checks were still missing from
> > #primitivePerform and #primitivePerformAt: so the following would still
> > crash the VM:
> >
> >   TestCase methodDict at: #assert: put: 5.
> >   (TestCase >> #assert:) perform: #literals.
> >
>
> Sorry, the above was a cut and paste error in my email. The thing
> that would still crash the interpreter VM prior to this update was:
>
>  TestCase methodDict at: #assert: put: 4.
>   TestCase new perform: #assert: with: 'zaraza'.
>
> In any case it should be resolved now.
>
> > I added the updates to VMMaker-dtl.205 (this time adopting Eliots's
> > changes directly) so hopefully this will now cover all cases.
> > The update that I did for Interpreter>>lookupMethodInDictionary:
> > should be added back to the oscog branch, but it does not effect
> > the Cog VM itself, so at this point I expect that an interpreter VM
> > built from VMMaker-dtl.205 will behave identically to a Cog VM with
> > respect to handling objects as methods.
> >
> > Dave
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20101123/cf113824/attachment.htm


More information about the Vm-dev mailing list