[Pkg] The Trunk: Compiler-ar.142.mcz
commits at source.squeak.org
commits at source.squeak.org
Fri May 21 02:41:06 UTC 2010
Andreas Raab uploaded a new version of Compiler to project The Trunk:
http://source.squeak.org/trunk/Compiler-ar.142.mcz
==================== Summary ====================
Name: Compiler-ar.142
Author: ar
Time: 20 May 2010, 7:40:40.375 pm
UUID: 65ec869f-4768-694d-9a0f-75e19f7f0510
Ancestors: Compiler-ar.141, Compiler-eem.140
Merging Compiler-eem.140:
Fix code gen infinite recursion and missing error check for compiling assignments to read-only global variables.
=============== Diff against Compiler-ar.141 ===============
Item was added:
+ ----- Method: LiteralVariableNode>>assignmentCheck:at: (in category 'testing') -----
+ assignmentCheck: encoder at: location
+ ^(key isVariableBinding and: [key canAssign not])
+ ifTrue: [location]
+ ifFalse: [-1]!
Item was changed:
----- Method: LiteralVariableNode>>sizeCodeForStorePop: (in category 'code generation (new scheme)') -----
sizeCodeForStorePop: encoder
self reserve: encoder.
^(key isVariableBinding and: [key isSpecialWriteBinding])
+ ifTrue: [(self sizeCodeForStore: encoder) + encoder sizePop]
- ifTrue: [(self sizeCodeForStorePop: encoder) + encoder sizePop]
ifFalse: [encoder sizeStorePopLiteralVar: index]!
More information about the Packages
mailing list