Hi guys. Right now we have
methodClass
"answer the class that I am installed in"
^self numLiterals > 0
ifTrue: [ (self literalAt: self numLiterals) value ]
ifFalse: [ nil ]
But of course my image has no method with 0 literals:
(CompiledMethod allInstances select: [:each | each numLiterals = 0 ]) size -> 0
So...can this really happen? or I can just remove the if ?
thanks
--
Mariano
http://marianopeck.wordpress.com