[Vm-dev] byteSizeOf: is that correct for 64bit images? Also what
about the (sqInt)(long)
David T. Lewis
lewis at mail.msen.com
Mon Dec 21 01:42:24 UTC 2009
On Mon, Dec 21, 2009 at 01:32:52AM +0100, Bert Freudenberg wrote:
> On 21.12.2009, at 01:17, David T. Lewis wrote:
> > On Mon, Dec 21, 2009 at 12:56:01AM +0100, Bert Freudenberg wrote:
> >> Does "ObjectMemory bytesPerWord" compile to a constant?
> > Yes, it answers a constant.
> I'd find it more readable and more revealing to use BytesPerWord directly, as is done in almost all other places:
> ... ifFalse:[^slots * BytesPerWord]
You're right, I should have done it that way. I'll make a note to fix it
next time I commit something to SqS.
More information about the Vm-dev