This is the mail archive of the java-discuss@sourceware.cygnus.com 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]

Re: _Jv_LookupInterfaceMethod



Bryce McKinlay writes:

> Thanks for the help. The only part that I can't figure out at the
> moment is how to get IFACE from method. "DECL_TYPE (method)" doesn't
> compile, and I havn't able to find anything similar in the code.

DECL_TYPE doesn't exist as an access macro.

I'm not sure what "value of `method'" means in that context -- I
haven't been following the discussion closely enough.  But if it is a
DECL (TREE_CODE (method) == FUNCTION_DECL), you might be looking for
TREE_TYPE (method) (TREE_CODE (TREE_TYPE (method)) == METHOD_TYPE)

./A

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