[tree-ssa] Gimplifying Java
Andrew Haley
aph@redhat.com
Tue Jun 17 09:18:00 GMT 2003
Ranjit Mathew writes:
> > Following is my first attempt to merge the gcj source frontend with the
> > tree-ssa infrastructure.
>
> A few dumb questions from a person quite new to tree-ssa:
>
> a. The subject confuses me - should it not be
> "Genericizing Java"? I mean, aren't front-ends supposed
> to generate GENERIC trees that a common "gimplifier"
> will convert to GIMPLE?
Java (or at least the source compiler) uses GENERIC trees already, so
there is not need for an additional conversion pass. Java also uses a
few extra nodes of its own, which need special treatment.
> b. After the tree-ssa branch is merged into mainline
> (in 3.5?), would we have a single tree representation
> produced by all front-ends rather than the current
> dialects produced by C/C++ and Java?
Yup.
> c. Are we doing away with the current tree + RTL dichotomy
> of Intermediate Representations and going with a
> single IR after this effort is complete?
Nope. We still need RTL for code generation -- gimple can't represent
machine instructions.
Andrew.
More information about the Java
mailing list