[Vm-dev] VM Maker: VMMaker.oscog-eem.1124.mcz
commits at source.squeak.org
commits at source.squeak.org
Thu Mar 26 18:18:31 UTC 2015
Eliot Miranda uploaded a new version of VMMaker to project VM Maker:
http://source.squeak.org/VMMaker/VMMaker.oscog-eem.1124.mcz
==================== Summary ====================
Name: VMMaker.oscog-eem.1124
Author: eem
Time: 26 March 2015, 11:15:29.762 am
UUID: 842fe1b7-f431-40f7-ba16-a156d4dafd38
Ancestors: VMMaker.oscog-eem.1123
A read simulation trap must not set the pc to next
pc if the read wrte to the oc register (ARM does
returns via pop into pc, etc, and we use this in
cePrimReturnEnterCogCode to write instructionPointer
directly into pc).
=============== Diff against VMMaker.oscog-eem.1123 ===============
Item was changed:
----- Method: Cogit>>handleReadSimulationTrap: (in category 'simulation only') -----
handleReadSimulationTrap: aProcessorSimulationTrap
<doNotGenerate>
+ | variableValue accessor |
- | variableValue |
variableValue := (simulatedVariableGetters at: aProcessorSimulationTrap address) value asInteger.
+ accessor := aProcessorSimulationTrap registerAccessor.
processor
+ perform: accessor
- perform: aProcessorSimulationTrap registerAccessor
with: variableValue signedIntToLong.
+ accessor ~~ #pc: ifTrue:
+ [processor pc: aProcessorSimulationTrap nextpc]!
- processor pc: aProcessorSimulationTrap nextpc!
More information about the Vm-dev
mailing list