[Modules] Upper case message names for accessing modules

Tim Rowledge tim at sumeru.stanford.edu
Thu Feb 21 16:38:56 UTC 2002


"Stephen Pair" <spair at advantive.com> is claimed by the authorities to have written:

>  Rather than
> compile in references directly to an association, maybe we should
> compile in a reference to something a little more sophisticated...if we
> change the VM such that the #value method is actually sent (rather than
> make an assumption about having an association), this should be an easy
> thing to achieve (and it's arguably the right thing to do regardless).
I'm pretty sure that it needs no VM change for this. The Compiler needs
to generate pushLiteralConstant + send #value rather than
pushLiteralVariable. Hmm, frees up 32 bytecodes too.

tim
-- 
Tim Rowledge, tim at sumeru.stanford.edu, http://sumeru.stanford.edu/tim
Useful random insult:- People around her are at risk of second hand idiocy.




More information about the Squeak-dev mailing list