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

commits at source.squeak.org commits at source.squeak.org
Mon Apr 3 23:53:24 UTC 2017

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

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

Name: Kernel-eem.1085
Author: eem
Time: 3 April 2017, 4:53:09.025064 pm
UUID: 0ed0802d-4a76-4345-a33a-ff400094a7d9
Ancestors: Kernel-eem.1084

Get the fix for the EToys ScriptEncoder right.

=============== Diff against Kernel-eem.1084 ===============

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:
+ 		[^0].
- 		[^self headerFlagForEncoder: PrimaryBytecodeSetEncoderClass].
  	(anEncoder class inheritsFrom: SecondaryBytecodeSetEncoderClass) ifTrue:
+ 		[^SmallInteger minVal].
- 		[^self headerFlagForEncoder: SecondaryBytecodeSetEncoderClass].
  	self error: 'The encoder is not one of the two installed bytecode sets'!

More information about the Packages mailing list