[squeak-dev] The Trunk: EToys-eem.289.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Apr 3 23:56:19 UTC 2017


Eliot Miranda uploaded a new version of EToys to project The Trunk:
http://source.squeak.org/trunk/EToys-eem.289.mcz

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

Name: EToys-eem.289
Author: eem
Time: 3 April 2017, 4:55:54.254019 pm
UUID: a288db28-8cdf-4e91-a6f8-2c8b94bee676
Ancestors: EToys-eem.288

Nuke a now unnecessary ScriptEncoder override, allowing EToys to also use a different bytecode set, if installed and preferred.

=============== Diff against EToys-eem.288 ===============

Item was removed:
- ----- Method: ScriptEncoder>>computeMethodHeaderForNumArgs:numTemps:numLits:primitive: (in category 'method generation') -----
- computeMethodHeaderForNumArgs: numArgs numTemps: numTemps numLits: numLits primitive: primitiveIndex
- 	"copied from superclass, only change is the >>headerFlagForEncoder: argument"
- 	numArgs > 15 ifTrue:
- 		[^self error: 'Cannot compile -- too many arguments'].
- 	numTemps > 63 ifTrue:
- 		[^self error: 'Cannot compile -- too many temporary variables'].	
- 	numLits > 65535 ifTrue:
- 		[^self error: 'Cannot compile -- too many literals'].
- 	^(CompiledMethod headerFlagForEncoder: EncoderForV3PlusClosures new)
- 	+ (numArgs bitShift: 24)
- 	+ (numTemps bitShift: 18)
- 	"+ (largeBit bitShift: 17)" "largeBit gets filled in later"
- 	+ (primitiveIndex > 0 ifTrue: [1 bitShift: 16] ifFalse: [0])
- 	+ numLits!



More information about the Squeak-dev mailing list