This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
A question about ARG_FINAL_P in the Java frontend.
- From: Kazu Hirata <kazu at codesourcery dot com>
- To: gcc at gcc dot gnu dot org
- Cc: per at bothner dot com, aph at redhat dot com, tromey at redhat dot com
- Cc: mark at codesourcery dot com
- Date: Mon, 31 Jul 2006 08:43:24 -0700
- Subject: A question about ARG_FINAL_P in the Java frontend.
Hi,
I'm planning to change TYPE_ARG_TYPES to use TREE_VEC instead of
TREE_LIST for compact representation.
I just noticed that the Java frontend has ARG_FINAL_P, which uses a
bit in the TREE_LIST node that is pointed to from TYPE_ARG_TYPES.
I am wondering if there is any way we could move this bit elsewhere.
The TREE_VEC node doesn't really have space for per-parameter data
other than the vector proper. I could use TREE_TYPE of TREE_VEC to
keep an array of boolean values to represent ARG_FINAL_P for each
parameter, but I am not sure if that is a clean solution.
Thoughts?
Kazu Hirata