Condensed Sources vs. Squeak Maintainence

Andreas Raab andreas.raab at gmx.de
Tue Jul 25 06:53:49 UTC 2006


Klaus D. Witzel wrote:
> So can CompiledMethod (delegate) when asked the queries you mentioned. 
> It doesn't need to store anything else than Blue Book's methodClass for 
> obtaining these answers (by delegation).

Not quite true. It is easy to see that in a situation like here:

   Object compile:'foo [42]'.
   fooBlock := Object new foo.
   Object compile:'foo ^21'.

you can't (without major modifications of classes) determine the 
properties of "fooBlock home" (say, for source retrieval). This is a 
relevant pattern as I've found in the past when dealing with changes to 
compiled methods - while not exactly common it is also not rare enough 
that it can be easily ignored.

Cheers,
   - Andreas





More information about the Squeak-dev mailing list