[Vm-dev] VM Maker: VMMaker.oscog-eem.1120.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Mar 25 22:20:24 UTC 2015


Eliot Miranda uploaded a new version of VMMaker to project VM Maker:
http://source.squeak.org/VMMaker/VMMaker.oscog-eem.1120.mcz

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

Name: VMMaker.oscog-eem.1120
Author: eem
Time: 25 March 2015, 3:18:22.865 pm
UUID: ba71f97c-eb8c-4c06-9679-ba2cbce49e14
Ancestors: VMMaker.oscog-eem.1119

Revert CogARMCompiler>>genSubstituteReturnAddress:;
the return address must indeed be assigned into the LinkReg, not pushed on the stack.

=============== Diff against VMMaker.oscog-eem.1119 ===============

Item was changed:
  ----- Method: CogARMCompiler>>genSubstituteReturnAddress: (in category 'abstract instructions') -----
  genSubstituteReturnAddress: retpc
  	<inline: true>
  	<returnTypeC: #'AbstractInstruction *'>
+ 	^cogit MoveCw: retpc R: LR!
- 	"This code needs to be tightly correlated across:-
- 		GdbARMAlien>simulateJumpCallOf:memory:
- 		GdbARMAlien>simulateCallOf:nextpc:memory:
- 		GdbARMAlien>simulateReturnIn:
- 		GdbARMAlien>retpcIn:
- 		CogARMCompiler>genSubstituteReturnAddress:
- 	Getting any one of them doing something different will cause much pain"
- 	^cogit  PushCw: retpc!



More information about the Vm-dev mailing list