The Trunk: Compiler-eem.238.mcz

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

The Trunk: Compiler-eem.238.mcz

commits-2
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!