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

David T. Lewis lewis at mail.msen.com
Tue Feb 21 13:14:34 UTC 2012


On Mon, Feb 20, 2012 at 09:56:33PM +0000, 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.224.mcz
> 
> ==================== Summary ====================
> 
> Name: Compiler-nice.224
> Author: nice
> Time: 20 February 2012, 10:56:20.223 pm
> UUID: 15070f34-9c69-4407-a041-7659522fc95a
> Ancestors: Compiler-nice.223
> 
> Just for fun, fix http://code.google.com/p/pharo/issues/detail?id=4915
> The inlined and non inlined versions of to:do: should answer the same result.
> 

It is good to see these ongoing improvements :)

Dave


> Implementation notes:
> This happens to be the receiver of to:do:, and thus the initial value of the loop index.
> So we can trivially
> - push the value of init statement on the stack,
> - remove the final nil that was pushed forValue,
> - and leave the rest of code generation unchanged
> 
> =============== Diff against Compiler-nice.223 ===============


More information about the Squeak-dev mailing list