VM Maker: VMMaker.oscog-cb.2411.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

VM Maker: VMMaker.oscog-cb.2411.mcz

commits-2
 
ClementBera uploaded a new version of VMMaker to project VM Maker:
http://source.squeak.org/VMMaker/VMMaker.oscog-cb.2411.mcz

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

Name: VMMaker.oscog-cb.2411
Author: cb
Time: 8 June 2018, 11:00:37.380297 am
UUID: 7cd561d6-86e8-4d00-8970-868454a406ae
Ancestors: VMMaker.oscog-cb.2410

Improved assertion (we want to catch this case)

=============== Diff against VMMaker.oscog-cb.2410 ===============

Item was changed:
  ----- Method: Spur32BitMMLECoSimulator>>fetchPointer:ofObject: (in category 'object access') -----
  fetchPointer: fieldIndex ofObject: objOop
  self assert: (self isForwarded: objOop) not.
  self assert: (fieldIndex >= 0 and: [fieldIndex < (self numSlotsOfAny: objOop)
  or: [fieldIndex = 0 "forwarders and free objs"
+ or: [fieldIndex = 1 and: [self isFreeObject: objOop]]]]).
- or: [fieldIndex = 1]]]).
  ^super fetchPointer: fieldIndex ofObject: objOop!

Item was changed:
  ----- Method: Spur32BitMMLESimulator>>fetchPointer:ofObject: (in category 'object access') -----
  fetchPointer: fieldIndex ofObject: objOop
  self assert: (self isForwarded: objOop) not.
  self assert: (fieldIndex >= 0 and: [fieldIndex < (self numSlotsOfAny: objOop)
  or: [fieldIndex = 0 "forwarders and free objs"
+ or: [fieldIndex = 1 and: [self isFreeObject: objOop]]]]).
- or: [fieldIndex = 1]]]).
  ^super fetchPointer: fieldIndex ofObject: objOop!