[Pkg] The Trunk: Kernel-eem.1084.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Apr 3 23:45:50 UTC 2017

Eliot Miranda uploaded a new version of Kernel to project The Trunk:

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

Name: Kernel-eem.1084
Author: eem
Time: 3 April 2017, 4:45:38.181168 pm
UUID: 131f851c-368d-42aa-b28b-5a07ae8cb7f6
Ancestors: Kernel-eem.1083

Oops, the changes reported in Compiler-eem.339 are here, to whit:

Fix a restriction in BytecodeEncoder>>computeMethodHeaderForNumArgs:numTemps:numLits:primitive: that caused EToys to have to implement an unnecessary override.
Fix the literal limit in that same method.  The max number of literals is 32767 now that we reserve bit 15 for the "do not jit-compile with counters' bit in Sista VMs.

=============== Diff against Kernel-eem.1083 ===============

Item was changed:
  ----- Method: CompiledCode class>>headerFlagForEncoder: (in category 'method encoding') -----
  headerFlagForEncoder: anEncoder
  	anEncoder class == PrimaryBytecodeSetEncoderClass ifTrue:
  	anEncoder class == SecondaryBytecodeSetEncoderClass ifTrue:
  		[^SmallInteger minVal].
+ 	"This allows subclasses for compiler variants such as the ScriptEncoder in EToys
+ 	 to continue to function."
+ 	(anEncoder class inheritsFrom: PrimaryBytecodeSetEncoderClass) ifTrue:
+ 		[^self headerFlagForEncoder: PrimaryBytecodeSetEncoderClass].
+ 	(anEncoder class inheritsFrom: SecondaryBytecodeSetEncoderClass) ifTrue:
+ 		[^self headerFlagForEncoder: SecondaryBytecodeSetEncoderClass].
  	self error: 'The encoder is not one of the two installed bytecode sets'!

More information about the Packages mailing list