ByteSymbol (#primitivePushFalse) does not understand#coerceTo:sim:

Rob Withers reefedjib at yahoo.com
Wed Oct 24 23:37:54 UTC 2007


----- Original Message ----- 
From: "Mathieu Suen" <mathk.sue at gmail.com>
To: "The general-purpose Squeak developers list" 
<squeak-dev at lists.squeakfoundation.org>
Sent: Wednesday, October 24, 2007 4:15 PM
Subject: Re: ByteSymbol (#primitivePushFalse) does not 
understand#coerceTo:sim:


> Hi rob
>
> You should post to the VM mailing list.

You are right.

> Adrian  have post a patch for a 3.9 image
> Which image do you use?

I use the 3.10 beta image (7158)

>
>>>
>>> Hi,
>>>
>>> Since the simulator was broken for quite a while now, I thought  I'd 
>>> give it a try to fix it (it would be a pitty if this nice  piece of work 
>>> gets lost over time...). What I've got now works  pretty well, except 
>>> for some UI issues, mainly concerning output  of text. For instance, 
>>> most of the labels in the menus are not  visible (see screenshot below). 
>>> But apart from that, it seems to  run just fine, and that's enough for 
>>> what I need it.
>>>
>>> In case anybody is interested in the changes, let me know where I 
>>> should post them. There are VMM projects on squeaksource.com and  on 
>>> source.squeakfoundation.org, but both seem unused.
>>> I started working from the VMM image of Ian from http:// 
>>> www.squeakvm.org/unix/release/ (version unix-3.9-10.*).
>>>
>>> Cheers,
>>> Adrian
>>>
>>> ___________________
>>> Adrian Lienhard
>>> www.adrian-lienhard.ch
>
>
>
> Mth
>
>
>
> On Oct 25, 2007, at 1:03 AM, Rob Withers wrote:
>
>> I am trying to run the InterpreterSimulatorLSB and I am getting an 
>> error.
>>
>> In #addNewMethodToCache, this line of code is called:
>>     self cCoerce: primitiveFunctionPointer to: 'long'
>>
>> where self is the IntepreterSimulatorLSB instance and 
>> primitiveFunctionPointer is #primitivePushFalse.  This results in 
>> ByteSymbol (#primitivePushFalse) does not understand  #coerceTo:sim:.  It 
>> looks as if it is expecting an Integer or an  Array as the value of 
>> primitiveFunctionPointer.  Can anyone shed  some light here?
>>
>
>
> 




More information about the Squeak-dev mailing list