The Trunk: Kernel-eem.1084.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.1084.mcz

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

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