[tree-ssa] Java: convert byte compiler to functions-as-trees
Andrew Haley
aph@redhat.com
Wed Jul 23 15:29:00 GMT 2003
Once we do this, we can beging to do tree optimizations in the byte
compiler. Such optimizations include inlining a bytecode method in
a source compiled method.
This is done by directly generating tree nodes while processing
bytecode input, rather than calling expand_foo() for each statement.
Mostly the changes are pretty obvious, but exception handling is done
in a totally different way. Unlike the source compiler, the bytecode
compiler generates BIND_EXPRs directly, which somewhat simplifies the
handling of debug information.
This isn't the end of the story, because there is still a fair bit of
cruft that I haven't removed.
As I mentioned earlier, this patch does cause a few failures in the
tree optimizers. I don't know where the bug lies; maybe in the front
end, maybe in the tree optimizers.
Andrew.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: java-tree-ssa-bytecode
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20030723/51b49a03/attachment.ksh>
More information about the Gcc-patches
mailing list