The Trunk: Kernel-eem.1085.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Kernel-eem.1085.mcz

commits-2
Eliot Miranda uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-eem.1085.mcz

==================== 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:
  [^0].
  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'!