[Pkg] The Trunk: Compiler-eem.238.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Nov 2 17:22:21 UTC 2012


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

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

Name: Compiler-eem.238
Author: eem
Time: 2 November 2012, 10:21:57.286 am
UUID: fe35e20e-713b-4bb0-88e3-e3f8badf4921
Ancestors: Compiler-cwp.237

Fix slip with return special literal encoding.

=============== Diff against Compiler-cwp.237 ===============

Item was changed:
  ----- Method: VariableNode>>sizeCodeForReturn: (in category 'code generation') -----
  sizeCodeForReturn: encoder
  	encoder
  		if: code
+ 		isSpecialLiteralForReturn:
- 		isSpecialLiteralForPush:
  			[:specialLiteral|
  			 ^encoder sizeReturnSpecialLiteral: specialLiteral].
  	(self code = LdSelf or: [self code = LdSuper]) ifTrue:
  		[^encoder sizeReturnReceiver].
  	^super sizeCodeForReturn: encoder!



More information about the Packages mailing list