This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Tree based inlining


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.




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]