[squeak-dev] The Trunk: Kernel-eem.1321.mcz
commits at source.squeak.org
commits at source.squeak.org
Wed Apr 15 23:07:39 UTC 2020
Eliot Miranda uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-eem.1321.mcz
==================== Summary ====================
Name: Kernel-eem.1321
Author: eem
Time: 15 April 2020, 4:07:36.59453 pm
UUID: 93f4b4c9-41ba-47f8-b220-72087fc41176
Ancestors: Kernel-eem.1319
Change a couple of CompiledCode methods to use selectorsDo:; messagesDo: should be deprecated at some point.
=============== Diff against Kernel-eem.1319 ===============
Item was changed:
----- Method: CompiledCode>>messages (in category 'scanning') -----
messages
"Answer a Set of all the message selectors sent by this method."
| result |
result := Set new.
+ self selectorsDo: [:selector | result add: selector].
- self messagesDo: [:selector | result add: selector].
^ result!
Item was changed:
----- Method: CompiledCode>>messagesSequence (in category 'scanning') -----
messagesSequence
"Answer a sequence of all the message selectors sent by this method in the order they are sent. Unlike #messages this may include duplicates. Note that both the sources and the decompiled sources might suggest different results. The returned information reflect the actual bytecode."
^ Array streamContents: [:result |
+ self selectorsDo: [:selector | result nextPut: selector]]!
- self messagesDo: [:selector | result nextPut: selector]]!
More information about the Squeak-dev
mailing list
|