[Vm-dev] VM Maker: Balloon-Engine-Pools-JB.2.mcz
commits at source.squeak.org
commits at source.squeak.org
Sat Apr 28 23:30:19 UTC 2012
Eliot Miranda uploaded a new version of Balloon-Engine-Pools to project VM Maker:
http://source.squeak.org/VMMaker/Balloon-Engine-Pools-JB.2.mcz
==================== Summary ====================
Name: Balloon-Engine-Pools-JB.2
Author: JB
Time: 9 November 2010, 2:17:15.185 pm
UUID: 89715cc9-530e-45e6-abe7-9e3c509f8169
Ancestors: Balloon-Engine-Pools-eem.1
empty log message
=============== Diff against Balloon-Engine-Pools-eem.1 ===============
Item was changed:
----- Method: BalloonEngineConstants class>>initializeInstVarNames:prefixedBy: (in category 'pool definition') -----
initializeInstVarNames: aClass prefixedBy: aString
+ | token |
+ aClass instVarNames doWithIndex:[:instVarName :index| | value |
- | token value |
- aClass instVarNames doWithIndex:[:instVarName :index|
token := (aString, instVarName first asUppercase asString, (instVarName copyFrom: 2 to: instVarName size),'Index') asSymbol.
value := index - 1.
(self bindingOf: token) ifNil:[self addClassVarName: token].
(self bindingOf: token) value: value.
].
token := (aString, aClass name,'Size') asSymbol.
(self bindingOf: token) ifNil:[self addClassVarName: token].
(self bindingOf: token) value: aClass instSize.!
More information about the Vm-dev
mailing list