[Vm-dev] VM Maker: VMMaker.oscog-nice.2910.mcz

commits at source.squeak.org commits at source.squeak.org
Sat Dec 26 23:00:15 UTC 2020


Nicolas Cellier uploaded a new version of VMMaker to project VM Maker:
http://source.squeak.org/VMMaker/VMMaker.oscog-nice.2910.mcz

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

Name: VMMaker.oscog-nice.2910
Author: nice
Time: 27 December 2020, 12:00:06.343561 am
UUID: 32c46c83-0656-460a-8305-29ae2a93bffa
Ancestors: VMMaker.oscog-nice.2909

Raise cog v3 VM compatibility to 1.17

Use a few forward compatibility messages to do so...

This is not ideal for double byte and double word arrays which are not supported.
Neither for word and float32 arrays that lack appropriate specialObject index...

The goal is to have the squeak.cog.v3 to at least compile the new file and socket plugin versions...

=============== Diff against VMMaker.oscog-nice.2909 ===============

Item was changed:
  ----- Method: NewObjectMemory class>>vmProxyMinorVersion (in category 'api chacterization') -----
  vmProxyMinorVersion
  	"Define the  VM_PROXY_MAJOR version for this VM as used to define
  	 the api in platforms/Cross/vm/sqVirtualMachine.[ch] and in interp.h."
+ 	^17!
- 	^15 "isBooleanObject: & isPositiveMachineIntegerObject:"!

Item was added:
+ ----- Method: ObjectMemory>>bytesPerElement: (in category 'forward compatibility') -----
+ bytesPerElement: oop
+ 	"forward compatibility with Spur"
+ 	(self isImmediate: oop) ifTrue:
+ 		[^0].
+ 	(self isWords: oop) ifTrue:
+ 		[^4].
+ 	(self isBytes: oop) ifTrue:
+ 		[^1].
+ 	^self wordSize!

Item was added:
+ ----- Method: ObjectMemory>>classDoubleByteArray (in category 'forward compatibility') -----
+ classDoubleByteArray
+ 	"forward compatibility with Spur"
+ 	^nil!

Item was added:
+ ----- Method: ObjectMemory>>classDoubleWordArray (in category 'forward compatibility') -----
+ classDoubleWordArray
+ 	"forward compatibility with Spur"
+ 	^nil!

Item was added:
+ ----- Method: ObjectMemory>>classFloat32Array (in category 'forward compatibility') -----
+ classFloat32Array
+ 	"forward compatibility with Spur"
+ 	^nil!

Item was added:
+ ----- Method: ObjectMemory>>classFloat64Array (in category 'forward compatibility') -----
+ classFloat64Array
+ 	"forward compatibility with Spur"
+ 	^nil!

Item was added:
+ ----- Method: ObjectMemory>>classWordArray (in category 'forward compatibility') -----
+ classWordArray
+ 	"forward compatibility with Spur"
+ 	^nil!

Item was added:
+ ----- Method: ObjectMemory>>isLong64s: (in category 'forward compatibility') -----
+ isLong64s: oop
+ 	"forward compatibility with Spur"
+ 	^false!

Item was added:
+ ----- Method: ObjectMemory>>isShorts: (in category 'forward compatibility') -----
+ isShorts: oop
+ 	"forward compatibility with Spur"
+ 	^false!

Item was added:
+ ----- Method: ObjectMemory>>isWordsOrShorts: (in category 'forward compatibility') -----
+ isWordsOrShorts: oop
+ 	"forward compatibility with Spur"
+ 	^(self isShorts: oop) or: [self isWords: oop]!



More information about the Vm-dev mailing list