[squeak-dev] Re: Bug with valueWithReceiver:arguments:

Klaus D. Witzel klaus.witzel at cobss.com
Sun Nov 23 16:16:06 UTC 2008


On Sun, 23 Nov 2008 15:38:42 +0100, Antoine Marot wrote:

> Thank you Igor for your reply.
>
> I finally succeeded in making a VM :) (I still have to print my squeak  
> VM builder certificate and display it proudly ;) ).

Well done, congratulations :)

> Does anyone know approximately when this fix should be added to an  
> official release ? This bug seriously makes it hard for me to share my  
> code...

I understand that what you need is "... method  
valueWithReceiver:arguments: is used hugely with method wrappers" and you  
need it without VM bug when a primitive fails.

Perhaps a stupid question (I don't know any other your requirements) but  
instead of wrapping methods one could easily #perform: a selector on the  
receiver. What would be the reason that you depend on  
#valueWithReceiver:arguments: ? it cannot be performance since #perform:  
needs some time as well.

/Klaus

>
> Best regards,
>
> Antoine
>
> ---
> Antoine Marot
> Ph.D Student
> Département d'Informatique
> Université Libre de Bruxelles
>
> Le 20-nov.-08 à 16:33, Igor Stasenko a écrit :
>
>> 2008/11/20 Antoine Marot <amarot at ulb.ac.be>:
>>> Hi all,
>>> Do you know when this fix will be added in a new squeak vm release ?
>>> I really need it for my thesis... So I tried to build the vm (without
>>> VMMaker since it doesn't want to be loaded...).
>>> This is how I tried to fix the interp.c file (it's probably wrong  
>>> since this
>>> doesn't fix anything) :
>>
>> Yes, its wrong. Please try load VMMaker and fix code in smalltalk  
>> instead.
>> The C code is a mess, generated by VMMaker, and you should never do
>> anything with it, except some debugging and checking if it generates
>> code correctly.
>>
>>
>> --Best regards,
>> Igor Stasenko AKA sig.
>>
>
>




More information about the Squeak-dev mailing list