Overriding #class

Craig Latta craig at netjam.org
Wed Nov 14 02:39:29 UTC 2007


 > I'd suggest disabling the bytecode that implements the class message.
 > It doesn't do a message look-up. You could do this either by
 > converting the bytecode to a normal send (there's several bytecodes
 > that just do sends so this should be easy) or by modifying the
 > compiler to generate a normal send bytecode with a selector in the
 > literal frame.
 > I doubt that disabling this optimisation will cause problems but
 > could be wrong.

      I did this for Spoon's proxy system, and it seems to work fine.


Craig Latta

More information about the Squeak-dev mailing list