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


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/

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