[squeak-dev] The Trunk: Kernel-dtl.1468.mcz

commits at source.squeak.org commits at source.squeak.org
Fri May 20 20:29:47 UTC 2022

David T. Lewis uploaded a new version of Kernel to project The Trunk:

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

Name: Kernel-dtl.1468
Author: dtl
Time: 19 May 2022, 9:00:06.652582 pm
UUID: 2a84fd00-259d-40ea-b8f4-a979ce108064
Ancestors: Kernel-dtl.1467

Sista bytecode set was activated in trunk as of Kernel-dtl.1310 (Mar 2020) which called a then-unimplemented primitive to inform the VM to update the image format number. The VM support is present now, and this package postscript updates the image format number, which will now be 68533 (64 bit image) or 7033 (32 bit image).

Also add a missing #primitiveFailed to CompiledCode class>>multipleBytecodeSetsActive

=============== Diff against Kernel-dtl.1467 ===============

Item was changed:
  ----- Method: CompiledCode class>>multipleBytecodeSetsActive (in category 'method encoding') -----
  	"Answer if the VM supports multiple bytecode sets, typically the Sista bytecodes
  	in addition to the traditional V3 bytecode set."
  	<primitive: 'primitiveMultipleBytecodeSetsActive'>
+ 	self primitiveFailed

Item was changed:
+ (PackageInfo named: 'Kernel') postscript: '"Inform the VM that it should update its image format number for multiple bytecode sets"
+ [CompiledCode byteCodeSetsKnownToTheVM.
+ CompiledCode preferredBytecodeSetEncoderClass = EncoderForSistaV1
+ 	ifTrue: [CompiledCode multipleBytecodeSetsActive: true]]
+ on: Error do: ["missing VM support, do nothing"]'!
- (PackageInfo named: 'Kernel') postscript: 'Smalltalk removeClassNamed: #ExceptionAboutToReturn.'!

More information about the Squeak-dev mailing list