[squeak-dev] [Cuis] Optimizing away unused literals

keith keith_hodges at yahoo.co.uk
Sat Feb 13 22:51:59 UTC 2010


On 13 Feb 2010, at 22:04, Juan Vuletich wrote:

> keith wrote:
>>
>> On 13 Feb 2010, at 21:11, Juan Vuletich wrote:
>>
>>> keith wrote:
>>>> In using Cuis, I discover that unused literals in a method,  
>>>> otherwise known as "poor-mans pragmas" are optimized away in  
>>>> compiledMethod. Does anyone know when this happened? (or was I  
>>>> using some other method to find them)
>>>>
>>>> Keith
>>>
>>> Well, the same also happens in Squeak, Pharo and Cuis 1.0 (pre- 
>>> closures). I'd say it has always been like this. See #flag: . It  
>>> is dated 4/28/2000, and serves your purpose.
>>>
>>> Cheers,
>>> Juan Vuletich
>>
>> It didn't happen in squeak 3.9
>>
>> Keith
>>
> Yes it did. Just tried in Squeak3.9-final-7067.

That is puzzling, I used to search on unused literals as markers for  
tests.

Keith
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20100213/843e5086/attachment.htm


More information about the Squeak-dev mailing list