[Vm-dev] VM Maker: VMMaker.oscog-eem.748.mcz
commits at source.squeak.org
commits at source.squeak.org
Mon Jun 2 17:08:01 UTC 2014
Eliot Miranda uploaded a new version of VMMaker to project VM Maker:
http://source.squeak.org/VMMaker/VMMaker.oscog-eem.748.mcz
==================== Summary ====================
Name: VMMaker.oscog-eem.748
Author: eem
Time: 2 June 2014, 10:05:28.29 am
UUID: 097187de-f65d-42ff-b6a7-91f0fd069cea
Ancestors: VMMaker.oscog-eem.747
Fix in-image compilation for the current VM.
=============== Diff against VMMaker.oscog-eem.747 ===============
Item was changed:
----- Method: Cogit class>>cog:selector:options: (in category 'in-image compilation') -----
cog: aCompiledMethod selector: aSelector options: optionsDictionaryOrArray
"StackToRegisterMappingCogit cog: (Integer >> #benchFib) selector: #benchFib options: #(COGMTVM false)"
| coInterpreter cogit |
self initializeWithOptions: (self asOptionsDictionary: optionsDictionaryOrArray).
CoInterpreter initializeWithOptions: initializationOptions.
+ CoInterpreter objectMemoryClass initializeWithOptions: initializationOptions.
coInterpreter := CurrentImageCoInterpreterFacade forCogit: (cogit := self new).
[cogit
setInterpreter: coInterpreter;
singleStep: true;
initializeCodeZoneFrom: 1024 upTo: coInterpreter memory size / 2. "leave space for rump C stack"
cogit methodZone freeStart: (cogit methodZone freeStart roundUpTo: 1024)]
on: Notification
do: [:ex|
(ex messageText beginsWith: 'cannot find receiver for') ifTrue:
[ex resume: coInterpreter].
ex pass].
^{ coInterpreter.
cogit.
cogit cog: (coInterpreter oopForObject: aCompiledMethod) selector: (coInterpreter oopForObject: aSelector) }!
Item was changed:
----- Method: CurrentImageCoInterpreterFacadeForSqueakV3ObjectRepresentation class>>objectMemoryClass (in category 'accessing') -----
objectMemoryClass
+ ^NewCoObjectMemory!
- ^NewObjectMemory!
More information about the Vm-dev
mailing list