Adding information in CompiledMethod
Andreas Raab
andreas.raab at gmx.de
Sun Nov 16 22:24:37 UTC 2003
> I would like toknow if this is easy/backward compatible to add an
> instance variable to CompiledMethod?
Why not use a registry? Such as Object>>dependents. The MethodAnnotations
package does precisely that for associating the annotations with the
methods. Alternatively, check out some of my older posts - there was a
discussion (with Craig and Squat involved) where I described a scheme in
which you could replace the "filePointer" encoded in the CMs with something
like a "method home" instead. Which would likely give you what you need.
Cheers,
- Andreas
> -----Original Message-----
> From: squeak-dev-bounces at lists.squeakfoundation.org
> [mailto:squeak-dev-bounces at lists.squeakfoundation.org] On
> Behalf Of ducasse
> Sent: Sunday, November 16, 2003 10:58 PM
> To: The list
> Subject: Adding information in CompiledMethod
>
>
> Hi
>
> Imagine that we want to know (without introducing new declarative
> entities like in Ginsu) that a method belong
> to a certain package. In such hypothesis we need to store this
> information somewhere.
>
> I would like toknow if this is easy/backward compatible to add an
> instance variable to CompiledMethod?
>
> Stef
>
>
More information about the Squeak-dev
mailing list
|