The Trunk: Kernel-eem.1356.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-eem.1356.mcz

commits-2
Eliot Miranda uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-eem.1356.mcz

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

Name: Kernel-eem.1356
Author: eem
Time: 30 October 2020, 7:55:52.516141 am
UUID: 589e93d6-d597-46f2-a09c-9d646902f1e1
Ancestors: Kernel-eem.1355

selectorJustSentOrSelf (used in process termination) must be able to handle being at the start of a method.

=============== Diff against Kernel-eem.1355 ===============

Item was changed:
  ----- Method: InstructionStream>>selectorJustSentOrSelf (in category 'scanning') -----
  selectorJustSentOrSelf
  "If this instruction follows a send, answer the send's selector, otherwise answer self."
 
  | method |
  method := self method.
+ ^method encoderClass selectorToSendOrItselfFor: self in: method at: (self previousPc ifNil: [^self])!
- ^method encoderClass selectorToSendOrItselfFor: self in: method at: self previousPc!