[squeak-dev] dummyReferToProxy

Igor Stasenko siguctua at gmail.com
Thu Jul 30 10:07:24 UTC 2009


2009/7/30 Ang Beepeng <beepeng86 at yahoo.com>:
>
> I see this in SqueakVM souce, interp.c.
>
> sqInt dummyReferToProxy(void) {
>        interpreterProxy = interpreterProxy;
> }
>
> It looks strange to me. Can someone give me a clue?
>
it is a dummy function, referring to proxy :)
It is done on purpose, because otherwise Code generator could decide
to not declare the interpreterProxy variable, because it is not used
anywhere.
Of course, it would be better if we could tell this explicitly to
codegen.. but dummy fn does the same..

> Thanks.
>
> Ang Beepeng
> --
> View this message in context: http://www.nabble.com/dummyReferToProxy-tp24733239p24733239.html
> Sent from the Squeak - Dev mailing list archive at Nabble.com.
>
>
>



-- 
Best regards,
Igor Stasenko AKA sig.



More information about the Squeak-dev mailing list