[Vm-dev] VM Maker: VMMaker.oscog-eem.891.mcz
commits at source.squeak.org
commits at source.squeak.org
Sun Oct 5 21:37:31 UTC 2014
Eliot Miranda uploaded a new version of VMMaker to project VM Maker:
http://source.squeak.org/VMMaker/VMMaker.oscog-eem.891.mcz
==================== Summary ====================
Name: VMMaker.oscog-eem.891
Author: eem
Time: 5 October 2014, 2:34:42.815 pm
UUID: 2b1ec85c-bd1d-4299-938a-80aef455e476
Ancestors: VMMaker.oscog-eem.890
Fix compilatiom of v3 VMs (fix v3 pinObject: type).
Fix Squeak V3 checkValidInlineCacheTag:
(SmallInteger 0 is a valid cache tag).
=============== Diff against VMMaker.oscog-eem.890 ===============
Item was changed:
----- Method: CogObjectRepresentationForSqueakV3>>checkValidInlineCacheTag: (in category 'garbage collection') -----
checkValidInlineCacheTag: cacheTag
+ ^cacheTag = ConstZero
+ or: [((cacheTag bitAnd: 1 << ShiftForWord - 1) = 0
+ and: [cacheTag
- ^((cacheTag bitAnd: 1 << ShiftForWord - 1) = 0
- and: [cacheTag
between: 1 << objectMemory compactClassFieldLSB
and: (objectMemory compactClassIndexOfHeader: -1) << objectMemory compactClassFieldLSB])
+ or: [self checkValidObjectReference: cacheTag]]!
- or: [self checkValidObjectReference: cacheTag]!
Item was changed:
----- Method: NewObjectMemory>>pinObject: (in category 'primitive support') -----
pinObject: objOop
"For forward-compatibility with Spur. Fail; ObjectMemory does not support pinning."
<api>
+ coInterpreter primitiveFailFor: PrimErrUnsupported.
+ ^0!
- coInterpreter primitiveFailFor: PrimErrUnsupported!
More information about the Vm-dev
mailing list