[squeak-dev] The Trunk: Kernel-cmm.579.mcz
Nicolas Cellier
nicolas.cellier.aka.nice at gmail.com
Fri May 6 10:11:25 UTC 2011
Chris, #whichSelectorsStoreInto: is used by RB/OB so a deprecation
policy would not hurt...
Nicolas
2011/5/3 <commits at source.squeak.org>:
> Chris Muller uploaded a new version of Kernel to project The Trunk:
> http://source.squeak.org/trunk/Kernel-cmm.579.mcz
>
> ==================== Summary ====================
>
> Name: Kernel-cmm.579
> Author: cmm
> Time: 2 May 2011, 7:53:17.364 pm
> UUID: bc0c0f5a-e690-458d-a2c1-5ca67389166c
> Ancestors: Kernel-cmm.578
>
> - Removed unused methods.
> - Fixed sender.
>
> =============== Diff against Kernel-cmm.578 ===============
>
> Item was removed:
> - ----- Method: Behavior>>whichMethodsStoreInto: (in category 'testing method dictionary') -----
> - whichMethodsStoreInto: instVarName
> - "Answer a collection of selectors whose methods access the argument,
> - instVarName, as a named instance variable."
> - "Point whichMethodsStoreInto: 'x'."
> - | instVarIndex |
> - instVarIndex := self allInstVarNames
> - indexOf: instVarName
> - ifAbsent: [ ^ IdentitySet new ].
> - ^ Array streamContents:
> - [ : stream | self methodDict keysAndValuesDo:
> - [ : eachSelector : eachMethod | (eachMethod writesField: instVarIndex) ifTrue: [ stream nextPut: eachMethod ] ] ]!
>
> Item was removed:
> - ----- Method: Behavior>>whichSelectorsStoreInto: (in category 'testing method dictionary') -----
> - whichSelectorsStoreInto: instVarName
> - "Answer a collection of selectors whose methods access the argument,
> - instVarName, as a named instance variable."
> - | instVarIndex |
> - instVarIndex := self allInstVarNames indexOf: instVarName ifAbsent: [^IdentitySet new].
> - ^ self methodDict keys select:
> - [:sel | (self methodDict at: sel) writesField: instVarIndex]
> -
> - "Point whichSelectorsStoreInto: 'x'."!
>
> Item was changed:
> ----- Method: MethodFinder>>initialize (in category 'initialize') -----
> (excessive size, no diff calculated)
>
>
>
More information about the Squeak-dev
mailing list
|