On Sun, Nov 14, 2010 at 11:40 PM, Erik Huelsmann ehuels@gmail.com wrote:
BTW: Alessio is working on defining static class initializer methods in ABCL and moving those to trunk. I propose that we always peephole optimize all methods *except* the static initializer (it's being run only once; a few extra byte codes can't matter that much). The net effect of that is that I can throw away my current hack, because most of our constructors will be trivial super() calls. The real initialization code will move to the static initializer - which won't be optimized.
Hi Erik, Blake,
the change Erik's referring to (using with-code-to-method in compiler-pass2 to write the constructor and, in future developments, the static initializer) has now landed on trunk.
Cheers, Alessio