This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Tree based inlining
- To: java at gcc dot gnu dot org
- Subject: Tree based inlining
- From: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- Date: Thu, 01 Nov 2001 16:04:33 +1300
Has anyone considered converting GCJ to use the tree-based inliner,
which was recently liberated from cp/ ?
It seems that we would be able to fix the "GCJ only inlines functions
that have already been seen" bug, and the inliner itself looks fairly
generic and easy to use.
It does contain this comment:
/* This should be eventually be generalized to other languages, but
this would require a shared function-as-trees infrastructure. */
But GCJ does use functions as trees and its representation is
more-or-less the same as C and C++, right? Does anyone know of a reason
why it wouldn't work?
regards
Bryce.