The Trunk: Compiler-nice.261.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-nice.261.mcz

commits-2
Nicolas Cellier uploaded a new version of Compiler to project The Trunk:
http://source.squeak.org/trunk/Compiler-nice.261.mcz

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

Name: Compiler-nice.261
Author: nice
Time: 5 April 2013, 10:24:06.754 pm
UUID: 310ada25-baad-40a6-a955-1314eb39e7bb
Ancestors: Compiler-nice.260

Fix decompiler tests that fails due to chained LiteralVariable (Binding) assignements.

=============== Diff against Compiler-nice.260 ===============

Item was changed:
  ----- Method: Decompiler>>pushTemporaryVariable: (in category 'instruction decoding') -----
  pushTemporaryVariable: offset
 
+ stack addLast: (offset >= tempVars size
+ ifTrue:
+ ["Handle the case of chained LiteralVariableBinding assigments"
+ stack at: (offset + 1 - tempVars size)]
+ ifFalse:
+ ["A regular argument or temporary"
+ tempVars at: offset + 1])!
- stack addLast: (tempVars at: offset + 1)!