Interpreter>>signed64BitValueOf: breaks the simulator

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Interpreter>>signed64BitValueOf: breaks the simulator

ccrraaiigg
 

Hi again--

     I assume I should be making entries in a bug database somewhere,
but if I knew the details before I've forgotten them now, please remind
me... :)

     Interpreter>>signed64BitValueOf: includes the line "szsqLong :=
self cCode: 'sizeof(sqLong)'", without an "inSmalltalk" equivalent. What
should it be? Sorry for these rudimentary questions.

     (I'm sanity-checking the Spoon VM changes by connecting two systems
together, one on MacOS and the other on win32 in the simulator.)


     thanks again,

-C

--
Craig Latta
www.netjam.org/resume
+31  06 2757 7177
+ 1 415  287 3547


Reply | Threaded
Open this post in threaded view
|

Re: Interpreter>>signed64BitValueOf: breaks the simulator

David T. Lewis
 
On Mon, May 23, 2011 at 06:05:56PM +0200, Craig Latta wrote:
>  
>
> Hi again--
>
>      I assume I should be making entries in a bug database somewhere,
> but if I knew the details before I've forgotten them now, please remind
> me... :)

If you don't mind adding bug reports to http://bugs.squeak.org/main_page.php
under category "VM", at least one person (me) will be grateful :)

>      Interpreter>>signed64BitValueOf: includes the line "szsqLong :=
> self cCode: 'sizeof(sqLong)'", without an "inSmalltalk" equivalent. What
> should it be? Sorry for these rudimentary questions.

I think it's 8 in all cases (from memory, I did not check).

>
>      (I'm sanity-checking the Spoon VM changes by connecting two systems
> together, one on MacOS and the other on win32 in the simulator.)

cool!

Dave

Reply | Threaded
Open this post in threaded view
|

Re: Interpreter>>signed64BitValueOf: breaks the simulator

David T. Lewis
In reply to this post by ccrraaiigg
 
On Mon, May 23, 2011 at 06:05:56PM +0200, Craig Latta wrote:
>
>      Interpreter>>signed64BitValueOf: includes the line "szsqLong :=
> self cCode: 'sizeof(sqLong)'", without an "inSmalltalk" equivalent. What
> should it be? Sorry for these rudimentary questions.

Double checking the commit notices, I think the fix for this is in VMMaker-dtl.232.

BTW, if you are using a recent Squeak image, "VMMaker updateFromServer"
will bring things up to date.

Dave

Reply | Threaded
Open this post in threaded view
|

re: Interpreter>>signed64BitValueOf: breaks the simulator

ccrraaiigg
 

> Double checking the commit notices, I think the fix for this is in
> VMMaker-dtl.232.

     Aha, indeed. Oops, sorry for not checking for more recent versions
before yapping here.

> BTW, if you are using a recent Squeak image, "VMMaker
> updateFromServer" will bring things up to date.

     Thanks!


-C

--
Craig Latta
www.netjam.org/resume
+31  06 2757 7177
+ 1 415  287 3547