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

commits at source.squeak.org commits at source.squeak.org
Tue Apr 19 01:25:05 UTC 2016


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

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

Name: VMMaker.oscog-eem.1816
Author: eem
Time: 18 April 2016, 6:23:05.986341 pm
UUID: be60cb5d-8a50-4bb5-a21d-bd9643d962a6
Ancestors: VMMaker.oscog-eem.1815

Fix a bug in an assert.

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

Item was changed:
  ----- Method: Cogit>>followForwardedLiteralsIn: (in category 'garbage collection') -----
  followForwardedLiteralsIn: cogMethod
  	<api>
  	<option: #SpurObjectMemory>
  	<var: #cogMethod type: #'CogMethod *'>
+ 	self assert: (cogMethod cmType ~= CMMethod or: [(objectMemory isForwarded: cogMethod methodObject) not]).
- 	self assert: (objectMemory isForwarded: cogMethod methodObject) not.
  	(objectMemory shouldRemapOop: cogMethod selector) ifTrue:
  		[cogMethod selector: (objectMemory remapObj: cogMethod selector).
  		 (objectMemory isYoung: cogMethod selector) ifTrue:
  			[methodZone ensureInYoungReferrers: cogMethod]].
  	self mapFor: cogMethod
  		performUntil: #remapIfObjectRef:pc:hasYoung:
  		arg: 0!



More information about the Vm-dev mailing list