[Pharo-project] NSAbstractDataStream class >>initialize
Hi Damien, The method NSAbstractDataStream class >>initialize contains the following code: -=-=-=-=-=-=-=-=-= Smalltalk do: [:cls | cls isInMemory ifTrue: [ cls isBehavior ifTrue: [ cls isPointers not & cls isVariable & cls isWords ifTrue: [ (t includesKey: cls) ifFalse: [t at: cls put: 20]]]]]. -=-=-=-=-=-=-=-=-= The problem is that isInMemory is not in Pharo 1.1 anymore. I think that you can remove the condition "cls isInMemory ifTrue: [". Maybe someone else can confirm? Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
On Tue, Apr 27, 2010 at 9:30 PM, Alexandre Bergel <alexandre@bergel.eu>wrote:
Hi Damien,
The method NSAbstractDataStream class >>initialize contains the following code: -=-=-=-=-=-=-=-=-= Smalltalk do: [:cls | cls isInMemory ifTrue: [ cls isBehavior ifTrue: [ cls isPointers not & cls isVariable & cls isWords ifTrue: [ (t includesKey: cls) ifFalse: [t at: cls put: 20]]]]]. -=-=-=-=-=-=-=-=-=
The problem is that isInMemory is not in Pharo 1.1 anymore. I think that you can remove the condition "cls isInMemory ifTrue: [". Maybe someone else can confirm?
Yes, it can be removed. However, what happens if someone wants that in Pharo 1.0 ? Anyway, that code of isInMemory was for ImageSegment...I don't think it is very used.
Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
participants (2)
-
Alexandre Bergel -
Mariano Martinez Peck