[squeak-dev] The Trunk: Compiler-nice.261.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Apr 5 20:24:36 UTC 2013


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)!



More information about the Squeak-dev mailing list