[squeak-dev] The Trunk: Compiler-nice.194.mcz

Juan Vuletich juan at jvuletich.org
Fri Mar 4 11:00:20 UTC 2011


commits at source.squeak.org wrote:
> Nicolas Cellier uploaded a new version of Compiler to project The Trunk:
> http://source.squeak.org/trunk/Compiler-nice.194.mcz
>
> ==================== Summary ====================
>
> Name: Compiler-nice.194
> Author: nice
> Time: 4 March 2011, 4:51:51.372 am
> UUID: de6fad00-fa6c-4622-9c03-046113d7e4fe
> Ancestors: Compiler-ul.193
>
> Fix cascading of special messages.
>
> During inlining of some special messages, the MessageNode selector and/or arguments might be destructively replaced.
> (for example #ifFalseifTrue: ifNil:ifNotNil: etc...)
>
> If we later decide to un-optimize, it is necessary to restore the originalSelector and originalArguments.
> (for example when these messages are cascaded)
>
> Also fix a bug occuring when decompiling these cascaded specials.
>
> Thanks to Juan for testing/enhancing this useless but beautiful stuff.
>   

Not sure if useless. It helps make the language more consistent and has 
educational value. Indeed it is beautiful stuff!

Thanks Nicolas.

Cheers,
Juan Vuletich



More information about the Squeak-dev mailing list