This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
method invocation and parameter access
- To: java at gcc dot gnu dot org
- Subject: method invocation and parameter access
- From: Dachuan Yu <dachuan dot yu at yale dot edu>
- Date: Fri, 28 Sep 2001 13:13:51 -0400
- Organization: Yale University
Would someone please tell me where the code is in
GCJ that builds tree nodes of method invocations?
I'm looking at the "......build(CALL_EXPR....." in
the "patch_invoke" function in file
".../gcc/java/parse.c". Is this it?
Also, when compiling a method body, how does one
refer to the formal parameters? It seems that the
"...build(PARM_DECL..." in ".../gcc/java/parse.c" is
used to construct the parameters. But I don't
understand what to do when compiling the part of
method body where that parameter is used/accessed.
Thanks!
Dachuan