The Trunk: Kernel-mt.1278.mcz

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

The Trunk: Kernel-mt.1278.mcz

commits-2
Marcel Taeumel uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-mt.1278.mcz

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

Name: Kernel-mt.1278
Author: mt
Time: 13 November 2019, 10:32:26.550043 am
UUID: 1aae36c0-4723-934a-a101-43de1d7435aa
Ancestors: Kernel-nice.1277, Kernel-mt.1266

Merges Kernel-mt.1266, which makes #messagesSequence compatible with SistaV1.

=============== Diff against Kernel-nice.1277 ===============

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."
- "Answer a sequence of all the message selectors sent by this method in the order
- they are sent.  Unlike messages this may include duplicates."
 
+ ^ Array streamContents: [:result |
+ self messagesDo: [:selector | result nextPut: selector]]!
- ^Array streamContents:
- [:str| | scanner |
- scanner := InstructionStream on: self.
- scanner scanFor:
- [:x | | selectorOrSelf |
- (selectorOrSelf := scanner selectorToSendOrSelf) == scanner ifFalse:
- [str nextPut: selectorOrSelf].
- false "keep scanning"]]!