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

commits at source.squeak.org commits at source.squeak.org
Sat Sep 7 20:18:11 UTC 2013


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

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

Name: VMMaker.oscog-eem.354
Author: eem
Time: 7 September 2013, 1:15:18.221 pm
UUID: 4bea1550-abc0-4737-b97d-dc24cba3a366
Ancestors: VMMaker.oscog-eem.353

Move classNameIndex uo to StackInterpreter.
Fix erroneous non-immediate assumptions in addressCouldBeClassObj:

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

Item was removed:
- ----- Method: CoInterpreter>>classNameIndex (in category 'simulation') -----
- classNameIndex
- 	<doNotGenerate>
- 	^classNameIndex!

Item was changed:
  ----- Method: StackInterpreter>>addressCouldBeClassObj: (in category 'debug support') -----
  addressCouldBeClassObj: maybeClassObj
  	"Answer if maybeClassObj looks like a class object"
  	<inline: false>
  	^(objectMemory addressCouldBeObj: maybeClassObj)
  	  and: [((objectMemory isPointersNonImm: maybeClassObj) and: [(objectMemory lengthOf: maybeClassObj) >= (InstanceSpecificationIndex+1)])
+ 	  and: [(objectMemory isPointers: (objectMemory fetchPointer: SuperclassIndex ofObject: maybeClassObj))
+ 	  and: [(objectMemory isPointers: (objectMemory fetchPointer: MethodDictionaryIndex ofObject: maybeClassObj))
- 	  and: [(objectMemory isPointersNonImm: (objectMemory fetchPointer: SuperclassIndex ofObject: maybeClassObj))
- 	  and: [(objectMemory isPointersNonImm: (objectMemory fetchPointer: MethodDictionaryIndex ofObject: maybeClassObj))
  	  and: [(objectMemory isIntegerObject: (objectMemory fetchPointer: InstanceSpecificationIndex ofObject: maybeClassObj))]]]]!

Item was added:
+ ----- Method: StackInterpreter>>classNameIndex (in category 'simulation') -----
+ classNameIndex
+ 	<doNotGenerate>
+ 	^classNameIndex!



More information about the Vm-dev mailing list