jvm.h (_Jv_Linker::maybe_adjust_signature): New.
authorAndrew Haley <aph@redhat.com>
Thu, 8 Jun 2006 14:00:43 +0000 (14:00 +0000)
committerAndrew Haley <aph@gcc.gnu.org>
Thu, 8 Jun 2006 14:00:43 +0000 (14:00 +0000)
commit297750da0393e5542752140f9ad5abb924f6305e
tree83ae3658665a4f6c170a94e91e6c36e86cf6b124
parentf70b22c9423c0352d34ed783b92eb98645cb18f1
jvm.h (_Jv_Linker::maybe_adjust_signature): New.

2006-06-07  Andrew Haley  <aph@redhat.com>

        * include/jvm.h (_Jv_Linker::maybe_adjust_signature): New.
        (_Jv_Linker::uaddr): New.
        * link.cc (resolve_pool_entry): Call search_method_in_superclasses
        instead of an open-coded loop around search_method_in_class.
        (search_method_in_class): Add a new arg, check_perms.
        (search_method_in_superclasses): New.
        (link_symbol_table): Call maybe_adjust_signature() to extract the
        least significnt bit of the signature pointer.  Do this three
        times, for instace method calls, static methods, and interfaces.
        Call search_method_in_superclasses() instead of
        _Jv_LookupDeclaredMethod.
        (typedef uaddr): Delete.

From-SVN: r114486
libjava/ChangeLog
libjava/include/jvm.h
libjava/link.cc