Stéphane Ducasse wrote:
> I was happily browsing code when I suddenly encountered that method
> Does anybody know what it measn to return #compiledMethod?
That you have half literals (pointers) and half bytecodes (bytes) in the
indexed instance variables. This was probably done in the blue book for
size optimization, but it is much less relevant today.
> 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.
>
>