The Trunk: Compiler-nice.170.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Compiler-nice.170.mcz

commits-2
Nicolas Cellier uploaded a new version of Compiler to project The Trunk:
http://source.squeak.org/trunk/Compiler-nice.170.mcz

==================== Summary ====================

Name: Compiler-nice.170
Author: nice
Time: 22 August 2010, 8:52:09.947 pm
UUID: f8a249cf-597d-472c-b45f-797a28d2d476
Ancestors: Compiler-eem.169

minor change: avoid creating a SortedCollection when not necessary...
asSortedCollection asArray -> asArray sort

=============== Diff against Compiler-eem.169 ===============

Item was changed:
  ----- Method: BlockNode>>computeCopiedValues: (in category 'code generation (closures)') -----
  computeCopiedValues: rootNode
  | referencedValues |
  referencedValues := rootNode referencedValuesWithinBlockExtent: blockExtent.
+ ^(referencedValues reject: [:temp| temp isDefinedWithinBlockExtent: blockExtent])
+ asArray sort: ParseNode tempSortBlock!
- ^((referencedValues reject: [:temp| temp isDefinedWithinBlockExtent: blockExtent])
- asSortedCollection: ParseNode tempSortBlock)
- asArray!