> Okay, if you need to visit pragmas as well, then why don't do it:

Yes, this is important. Otherwise you can't browser for references to
a Pragma anymore.

> CompiledMethod>>refersToLiteral: aLiteral
>
>  self literalsDo: [ blablah ].
>  self pragmas do: [ blah blah ]
>
>       ^ false
>
> which makes this method immune from any future changes in CompiledMethod 
> format.
> So, we don't need to think about 'fixing' it again and again, each
> time we need to hack things.

This would introduce a major performance bottleneck for commonly used
Smalltalk features like senders/implementors/references.

Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to