[Vm-dev] Interpreter>>primitiveNewWithArg breaks the simulator

Craig Latta craig at netjam.org
Mon May 23 15:33:09 UTC 2011


Hi--

     Mm, looks like a bunch of 64-bit fun is in store for me. :)

     Interpreter>>primitiveNewWithArg includes:

***

self
     isDefinedTrueExpression: 'SQ_IMAGE64 && SQ_HOST64'
     inSmalltalk: [size := self positive32BitValueOf: self stackTop]
     comment: 'permit large object allocation on 64 bit image and host'
     ifTrue: [size := self positive64BitValueOf: self stackTop]
     ifFalse: [size := self positive32BitValueOf: self stackTop]

***

     The "in Smalltalk" part doesn't answer a Boolean. What should it be?


     thanks again,

-C

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




More information about the Vm-dev mailing list