The Inbox: Kernel-nice.925.mcz

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

The Inbox: Kernel-nice.925.mcz

commits-2
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)) ] ]!