Eliot Miranda uploaded a new version of VMMaker to project VM Maker: http://source.squeak.org/VMMaker/VMMaker.oscog-eem.3343.mcz
==================== Summary ====================
Name: VMMaker.oscog-eem.3343 Author: eem Time: 16 November 2023, 2:34:08.812072 pm UUID: 28c7ec5a-4d93-4252-822e-0e193121bc3e Ancestors: VMMaker.oscog-eem.3342
...and avoid ambiguity with multiple full blocks in a given home.
=============== Diff against VMMaker.oscog-eem.3342 ===============
Item was changed: ----- Method: Cogit>>methodSelectorStringFor: (in category 'disassembly') ----- methodSelectorStringFor: cogMethod "Answer either the hex string or the selector for a method, if it has a valid selector. + For full blocks, prepend ``[full address] '' to the selector." - For full blocks, prepend ``[full] '' to the selector." <doNotGenerate> cogMethod cmIsFullBlock ifTrue: + [| rawString | + rawString := String streamContents: + [:s| + s nextPutAll: '[full '. + cogMethod asInteger printOn: s base: 16. "omits 16r prefix". + s nextPut: $]]. + (coInterpreter maybeSelectorOfMethod: cogMethod methodObject) ifNotNil: + [:selector| + (objectRepresentation couldBeObject: selector) ifTrue: + [^rawString, ' ', (coInterpreter stringOf: selector)]]. + ^rawString]. - [(coInterpreter maybeSelectorOfMethod: cogMethod methodObject) ifNotNil: - [:selector| - ^'[full] ', ((objectRepresentation couldBeObject: selector) - ifTrue: [coInterpreter stringOf: selector] - ifFalse: [cogMethod asInteger hex])]].
(cogMethod selector ~= objectMemory nilObject and: [objectRepresentation couldBeObject: cogMethod selector]) ifTrue: [^coInterpreter stringOf: cogMethod selector].
^cogMethod asInteger hex!
vm-dev@lists.squeakfoundation.org