Marcel Taeumel uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-mt.1250.mcz==================== Summary ====================
Name: Kernel-mt.1250
Author: mt
Time: 24 July 2019, 11:44:15.067109 am
UUID: 00753086-db4b-4706-bde7-c6d5ea190c04
Ancestors: Kernel-mt.1249
Speeds up deletion of class variables or shared pools.
=============== Diff against Kernel-mt.1249 ===============
Item was changed:
----- Method: Behavior>>whichSelectorsReferTo: (in category 'testing method dictionary') -----
whichSelectorsReferTo: literal
+ "Answer a Set of selectors whose methods access the argument as a literal. Note that we cannot use #systemNavigation because this method should not depend on the 'System' package."
- "Answer a Set of selectors whose methods access the argument as a literal."
+ | who canBeSpecial |
+ canBeSpecial := BytecodeEncoder canBeSpecialLiteral: literal.
- | who |
who := IdentitySet new.
self selectorsAndMethodsDo: [:selector :method |
+ (method hasLiteral: literal scanForSpecial: canBeSpecial)
- (method hasLiteral: literal)
ifTrue: [who add: selector]].
^ who
"Rectangle whichSelectorsReferTo: #+."!