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]
Other format: [Raw text]

Re: Determining pointer for the target of set/get field


>>>>> "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


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