VM Maker: Balloon-Engine-Pools-JB.2.mcz

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

VM Maker: Balloon-Engine-Pools-JB.2.mcz

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