This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Determining pointer for the target of set/get field
- From: Tom Tromey <tromey at redhat dot com>
- To: Angelo Corsaro <corsaro at cse dot wustl dot edu>
- Cc: GCC-Java <java at gcc dot gnu dot org>
- Date: 23 Feb 2003 17:55:55 -0700
- Subject: Re: Determining pointer for the target of set/get field
- References: <1046027423.1431.3.camel@jupiter>
- Reply-to: tromey at redhat dot com
>>>>> "Angelo" == Angelo Corsaro <corsaro at cse dot wustl dot edu> writes:
Angelo> I need to determine for "expand_java_field_op" in
Angelo> gcc/gcc/java/expr.c, the address of the object for which the field is
Angelo> being set/get. Does anyone know the right way of getting this ptr?
Before calling build_field_ref, the field_ref variable holds a pointer
to the object. It is NULL_TREE is the field is static.
Tom