[Pkg] The Trunk: Compiler-nice.170.mcz

commits at source.squeak.org commits at source.squeak.org
Sun Aug 22 18:52:28 UTC 2010

Nicolas Cellier uploaded a new version of Compiler to project The Trunk:

==================== 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!

More information about the Packages mailing list