Modifying MethodContext?

Stephen Pair spair at cisco.com
Wed Jul 25 04:36:00 UTC 2001


Thanks!  I didn't realize that receiverMap wasn't being used.  That
saved me a lot of work.  I was trying to add a new sublcass of
MethodContext, but the code to handle both types of MethodContext was
getting messy.

It works great.

- Stephen

-----Original Message-----
From: squeak-dev-admin at lists.squeakfoundation.org
[mailto:squeak-dev-admin at lists.squeakfoundation.org] On Behalf Of
Andreas Raab
Sent: Tuesday, July 24, 2001 3:49 PM
To: squeak-dev at lists.squeakfoundation.org
Subject: RE: Modifying MethodContext?


Stephen,

> >> I need to add an instance variable to MethodContext.
[...]
> Yes, I do.  ;)

Yes, I guess you have :) On the other hand ... no perhaps not ;-) Have a
look at the "receiverMap" slot in MContext - it's unused so far and you
*could* hook your forwarder into it. It will break on J3 (which uses
receiverMap for its internal purposes) but my guess is that you probably
won't care at this point. It would at least allow you to do some
experiments with the stuff you're doing.

Cheers,
  - Andreas







More information about the Squeak-dev mailing list