The Trunk: Kernel-bf.1019.mcz

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

The Trunk: Kernel-bf.1019.mcz

commits-2
Bert Freudenberg uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-bf.1019.mcz

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

Name: Kernel-bf.1019
Author: bf
Time: 11 May 2016, 3:30:33.093682 pm
UUID: 54dc3e86-690f-4e37-9c37-640692047c60
Ancestors: Kernel-nice.1018

Debugger: step over temp vector initializer when entering method

=============== Diff against Kernel-nice.1018 ===============

Item was added:
+ ----- Method: MethodContext>>stepToSendOrReturn (in category 'system simulation') -----
+ stepToSendOrReturn
+ ((method at: pc) == 16r8A "push new array" and: [pc = method initialPC]) ifTrue: [
+ (method at: pc+2) = 16r68 ifFalse: [self error: 'assumed pop into temp0 bytecode'].
+ "init temp vector first"
+ self step; step].
+ ^super stepToSendOrReturn!


Reply | Threaded
Open this post in threaded view
|

Re: The Trunk: Kernel-bf.1019.mcz

Bert Freudenberg
Eliot (and all) -

is there a better way than this to detect if a method has the temp vector init code?

- Bert -

On 11.05.2016, at 13:30, [hidden email] wrote:

>
> Bert Freudenberg uploaded a new version of Kernel to project The Trunk:
> http://source.squeak.org/trunk/Kernel-bf.1019.mcz
>
> ==================== Summary ====================
>
> Name: Kernel-bf.1019
> Author: bf
> Time: 11 May 2016, 3:30:33.093682 pm
> UUID: 54dc3e86-690f-4e37-9c37-640692047c60
> Ancestors: Kernel-nice.1018
>
> Debugger: step over temp vector initializer when entering method
>
> =============== Diff against Kernel-nice.1018 ===============
>
> Item was added:
> + ----- Method: MethodContext>>stepToSendOrReturn (in category 'system simulation') -----
> + stepToSendOrReturn
> + ((method at: pc) == 16r8A "push new array" and: [pc = method initialPC]) ifTrue: [
> + (method at: pc+2) = 16r68 ifFalse: [self error: 'assumed pop into temp0 bytecode'].
> + "init temp vector first"
> + self step; step].
> + ^super stepToSendOrReturn!




smime.p7s (5K) Download Attachment