[BUG]-adjustAllOopsBy adjusts if offset is zero?
John M McIntosh
johnmci at mac.com
Thu Jul 10 07:38:59 UTC 2003
adjustAllOopsBy: bytesToShift
actually has a comment
"Note: Don't bypass this method even if bytesToShift is zero
until the RootBit problem has been fixed in the appropriate places."
"bytesToShift = 0 ifTrue: [ ^ nil ]."
Does anyone know if it's been fixed?
However should
self adjustFieldsAndClassOf: oop by: bytesToShift.
be called if bytesToShift is zero? {Anyone know?}
I'll note on the mac, saving, restarting an image always seems to set
the bytesToShift to zero.
Seems a shame to fiddle with all the objects for nothing...
--
========================================================================
===
John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
========================================================================
===
More information about the Squeak-dev
mailing list
|