The Trunk: Tools-eem.702.mcz

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

The Trunk: Tools-eem.702.mcz

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

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

Name: Tools-eem.702
Author: eem
Time: 13 May 2016, 12:50:20.522711 pm
UUID: 6e329560-7a10-4edf-ba1c-eb2ac424ceab
Ancestors: Tools-bf.701

See Kernel-eem.1023.  CompiledMethod>>pcPreviousTo: is used in places other thna the debugger, so it has to be in kernel.

=============== Diff against Tools-bf.701 ===============

Item was removed:
- ----- Method: CompiledMethod>>pcPreviousTo: (in category '*Tools-Debugger-support') -----
- pcPreviousTo: thePC
- "Answer the pc of the bytecode before the bytecode at thePC."
- | pc prevPc byte encoderClass |
- self flag: 'belongs in DebuggerMethodMap?'.
- thePC > self endPC ifTrue: [^self endPC].
- pc := self initialPC.
- encoderClass := self encoderClass.
- [pc < thePC] whileTrue:
- [byte := self at: (prevPc := pc).
- [pc := pc + (encoderClass bytecodeSize: byte).
-  encoderClass isExtension: byte] whileTrue:
- [byte := self at: pc]].
- ^prevPc!