[squeak-dev] ReadingOnlyVariableBindings
Colin Putney
colin at wiresong.com
Fri Mar 8 20:46:13 UTC 2013
On Fri, Mar 8, 2013 at 12:42 PM, Nicolas Cellier <
nicolas.cellier.aka.nice at gmail.com> wrote:
> See the method
>
> isSpecialWriteBinding
> "Return true if this variable binding is write protected, e.g.,
> should not be accessed primitively but rather by sending #value:
> messages"
> ^true
>
> And its senders.
> That means that a different byte code must be generated in order to
> send #value rather than accessing the 2nd inst. var. directly.
>
> Nicolas
>
Aahh, that makes sense. Thanks.
Colin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20130308/cd5d6bdc/attachment.htm
More information about the Squeak-dev
mailing list
|