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

commits at source.squeak.org commits at source.squeak.org
Tue Sep 10 17:11:24 UTC 2013

Eliot Miranda uploaded a new version of VMMaker to project VM Maker:

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

Name: VMMaker.oscog-eem.361
Author: eem
Time: 10 September 2013, 10:07:49.462 am
UUID: c32af2f0-b2d9-43f9-b11d-ea4313a7ac14
Ancestors: VMMaker.oscog-eem.360

rescue primitveObjectPointsTo: which needs isPointersFormat:

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

Item was changed:
  ----- Method: ObjectMemory>>formatOf: (in category 'header access') -----
  formatOf: oop
  "       0      no fields
          1      fixed fields only (all containing pointers)
          2      indexable fields only (all containing pointers)
          3      both fixed and indexable fields (all containing pointers)
          4      both fixed and indexable weak fields (all containing pointers).
+         5      unused (reserved for ephemerons?)
-         5      unused
          6      indexable word fields only (no pointers)
          7      indexable long (64-bit) fields (only in 64-bit images)
      8-11      indexable byte fields only (no pointers) (low 2 bits are low 2 bits of size)
     12-15     compiled methods:
                     # of literal oops specified in method header,
                     followed by indexable bytes (same interpretation of low 2 bits as above)
  	<inline: true>
  	^((self baseHeader: oop) >> 8) bitAnd: 16rF!

Item was added:
+ ----- Method: ObjectMemory>>isPointersFormat: (in category 'header access') -----
+ isPointersFormat: format
+ 	^format <= self lastPointerFormat!

Item was changed:
  ----- Method: ObjectMemory>>isPointersNonImm: (in category 'header access') -----
  isPointersNonImm: objOop
  	"Answer if the argument has only fields that can hold oops. See comment in formatOf:"
+ 	^(self formatOf: objOop) <= self lastPointerFormat!
- 	^(self formatOf: objOop) <= 4!

Item was added:
+ ----- Method: ObjectMemory>>lastPointerFormat (in category 'header access') -----
+ lastPointerFormat
+ 	^5!

More information about the Vm-dev mailing list