[Vm-dev] VM Maker: VMMaker.oscog-mt.3083.mcz
commits at source.squeak.org
commits at source.squeak.org
Fri Oct 1 08:10:18 UTC 2021
Marcel Taeumel uploaded a new version of VMMaker to project VM Maker:
http://source.squeak.org/VMMaker/VMMaker.oscog-mt.3083.mcz
==================== Summary ====================
Name: VMMaker.oscog-mt.3083
Author: mt
Time: 1 October 2021, 10:10:01.539336 am
UUID: 0d345f2b-f29d-7148-b84c-cb4ed3775bb1
Ancestors: VMMaker.oscog-mt.3082
Adds missing #lengthOf:format: to fix v3.stack and v3.cog builds.
=============== Diff against VMMaker.oscog-mt.3082 ===============
Item was added:
+ ----- Method: ObjectMemory>>lengthOf:format: (in category 'object access') -----
+ lengthOf: oop format: fmt
+ "Answer the number of indexable units in the given object.
+ For a CompiledMethod, the size of the method header (in bytes)
+ should be subtracted from the result of this method."
+
+ <inline: true>
+ ^ self lengthOf: oop baseHeader: (self baseHeader: oop) format: fmt!
More information about the Vm-dev
mailing list