> On 05 Feb 2015, at 21:51, Clément Bera <[email protected]> wrote:
>
> I also can't wait to have a slot to automatically add instance variables in
> the additional method state for CompiledMethod subclasses. This shouldn't be
> tricky for you any more, should it ? I'm bored of not being able to add
> instance variables to compiledMethod subclasses :-).
It would be just working *if* CompiledMethodLayout would allow slots… slots are
right now in PointerLayout and subclasses.
(this came due to the virtual vs. indexed slots not being really explicly
modelled in the first prototype)
I will change that: all classes should be able to have *virtual* slots (and add
them without having to migrate the instances).
>
> Having automatically inst vars in a dictionary is interesting it could allow
> to have more inst vars than the maximum limit.
Yes, just think about MorphExtension…
Marcus