[squeak-dev] About typeOfClass

Stéphane Ducasse stephane.ducasse at univ-savoie.fr
Fri Jul 25 09:26:18 UTC 2008


I was happily browsing code when I suddenly encountered that method
Does anybody know what it measn to return #compiledMethod?

typeOfClass
	"Answer a symbol uniquely describing the type of the receiver"
	self instSpec = CompiledMethod instSpec ifTrue:[^#compiledMethod].  
"Very special!"
	self isBytes ifTrue:[^#bytes].
	(self isWords and:[self isPointers not]) ifTrue:[^#words].
	self isWeak ifTrue:[^#weak].
	self isVariable ifTrue:[^#variable].
	^#normal.



More information about the Squeak-dev mailing list