[squeak-dev] Re: [Vm-dev] So who broke bitOr: ?

David T. Lewis lewis at mail.msen.com
Thu Feb 19 01:21:22 UTC 2015


On Wed, Feb 18, 2015 at 12:06:41PM -0800, tim Rowledge wrote:
> 
> On a fresh Pi vm (as in svn updated yesterday)
> 16rFFFF bitOr:(16rFFFF bitShift: 16) ->  -1
> On a slightly older Mac vm
> 16rFFFF bitOr:(16rFFFF bitShift: 16) ->  4294967295, aka 16rFFFFFFFF
> 
> This breaks, amongst other things, Color>bitPatternForDepth:, whcih pretty much trashes an image since that gets used to makes cursor bitmaps as you move the pointer around. Nicely fills your window with notifiers?
> 

It looks like a type declaration and/or slang inlining issue. Back up
a few versions in VMMaker.oscog and you will probably find the cause.

Eliot has been doing a lot of work related to 64-bit immediates, and you
may be running some version that introduces a bug in the 32-bit variation
(just guessing).

Dave



More information about the Squeak-dev mailing list