[Vm-dev] VM Maker: Cog-tpr.271.mcz
commits at source.squeak.org
commits at source.squeak.org
Mon Jul 13 21:18:29 UTC 2015
tim Rowledge uploaded a new version of Cog to project VM Maker:
http://source.squeak.org/VMMaker/Cog-tpr.271.mcz
==================== Summary ====================
Name: Cog-tpr.271
Author: tpr
Time: 13 July 2015, 2:18:19.407 pm
UUID: 2022b740-e0f0-4d18-9c97-82a0fb86e0fa
Ancestors: Cog-eem.270
smash the proper registers.
=============== Diff against Cog-eem.270 ===============
Item was added:
+ ----- Method: GdbARMAlien>>callerABISavedSmashRegisterAccessors (in category 'accessing-abstract') -----
+ callerABISavedSmashRegisterAccessors
+ "limited list of registers to clear out when simulating a naBI call; we need R1 sometimes since many abi calls return 2 results or maybe a 64bit dual-reg value, and LR has to be left alone becasue a leaf call doesn't push it"
+ ^#( r2: r3: )!
Item was added:
+ ----- Method: GdbARMAlien>>smashABICallerSavedRegistersWithValuesFrom:by: (in category 'accessing-abstract') -----
+ smashABICallerSavedRegistersWithValuesFrom: base by: step
+ self callerABISavedSmashRegisterAccessors
+ withIndexDo:
+ [:accessor :index|
+ self perform: accessor with: index - 1 * step + base]!
More information about the Vm-dev
mailing list