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

commits at source.squeak.org commits at source.squeak.org
Wed Jun 15 19:05:33 UTC 2022


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

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

Name: VMMaker.oscog-eem.3191
Author: eem
Time: 15 June 2022, 12:05:11.219364 pm
UUID: 36b7165f-bcae-438e-8edb-d2def8bb3643
Ancestors: VMMaker.oscog-eem.3190

Fix in-image compilation after recent refactoring of accessor depths that separated the StackInterpreter and CoInterpreter implementations.

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

Item was added:
+ ----- Method: CoInterpreter>>primitiveMetadataTable (in category 'accessing') -----
+ primitiveMetadataTable
+ 	<doNotGenerate>
+ 	"for in-image compilation"
+ 	^primitiveMetadataTable!

Item was changed:
  ----- Method: CurrentImageCoInterpreterFacadeForSpurObjectRepresentation>>accessorDepthForPrimitiveIndex: (in category 'accessing') -----
  accessorDepthForPrimitiveIndex: anInteger
+ 	^coInterpreter accessorDepthForPrimitiveIndex: anInteger!
- 	^(StackInterpreterPrimitives primitiveMetadataTable at: anInteger + 1) >>> SpurPrimitiveAccessorDepthShift!

Item was added:
+ ----- Method: CurrentImageCoInterpreterFacadeForSpurObjectRepresentation>>functionPointerForCompiledMethod:primitiveIndex:primitivePropertyFlagsInto: (in category 'accessing') -----
+ functionPointerForCompiledMethod: methodOop primitiveIndex: primIndex primitivePropertyFlagsInto: flagsPtr
+ 	coInterpreter primitiveMetadataTable ifNil:
+ 		[coInterpreter computeAccessorDepthsForInterpreterPrimitives].
+ 	^super functionPointerForCompiledMethod: methodOop primitiveIndex: primIndex primitivePropertyFlagsInto: flagsPtr!



More information about the Vm-dev mailing list