[Newcompiler] tagging methods?
Marcus Denker
denker at iam.unibe.ch
Sun Nov 26 15:04:33 UTC 2006
> Solution:
> We tag a method as compiled with the new compiler via a method
> property. We can do the same for #compileBlocks as closures.
>
Yes, we should do that.
> I thought about this {old compiler. new compiler}x{old decompiler.
> new decompiler} when starting to help with new decompiler.
>
> An alternative would be an "options" bit field in the
> MethodProperties, which would extend CompiledMethod>>#header by 31
> bits (and so avoids a new, fat Dictionary instance per new
> CompiledMethod).
>
I like that solution, yes. The only problem might be that we can't
easily add a field using monticello... which would mean to load a .cs
before loading
the newcompiler package... or can we solve it differently? Maybe it
could be creaded lazily...
> I'm confident that the remaining 30 option bits will soon find some
> other friends :)
I'm sure...
Marcus
More information about the Newcompiler
mailing list