[squeak-dev] The Inbox: Kernel-nice.925.mcz

commits at source.squeak.org commits at source.squeak.org
Wed May 6 21:20:56 UTC 2015


Nicolas Cellier uploaded a new version of Kernel to project The Inbox:
http://source.squeak.org/inbox/Kernel-nice.925.mcz

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

Name: Kernel-nice.925
Author: nice
Time: 6 May 2015, 11:20:30.172 pm
UUID: 17257512-fbd9-4aef-a2da-07287d89cb26
Ancestors: Kernel-mt.924

MethodDictionary must implement a different replace: because it's not association based unlike super AND because it should care of fushing some VM cache.

=============== Diff against Kernel-mt.924 ===============

Item was added:
+ ----- Method: MethodDictionary>>replace: (in category 'enumeration') -----
+ replace: aBlock
+ 	tally = 0 ifTrue: [ ^self ].
+ 	1 to: self basicSize do: [ :i |
+ 		(self basicAt: i) ifNotNil: [
+ 			(array at: i) flushCache.
+ 			array at: i put: (aBlock value: (array at: i)) ] ]!



More information about the Squeak-dev mailing list