This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: _Jv_LookupInterfaceMethod
Alexandre Petit-Bianco <apbianco@cygnus.com> writes:
> 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)
Alex is right. (I am a bit rusty ...)
I meant `TREE_TYPE (method)' should give you the `IFACE'.
--
--Per Bothner
per@bothner.com http://www.bothner.com/~per/