martin.beck at hpi.uni-potsdam.de
Thu Nov 15 15:16:45 UTC 2007
thanks for your answers. Do you or anyone else have a simple hint, where
in the compiler we can turn off this optimization? It is very hard to
debug the parser/compiler to find the correct place... :(
Craig Latta wrote:
> > 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