This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Patch: RFA: remove some unused gcj code
- From: Andrew Haley <aph at redhat dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: GCC libjava patches <java-patches at gcc dot gnu dot org>, Gcc Patch List <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 4 Aug 2003 19:33:56 +0100
- Subject: Patch: RFA: remove some unused gcj code
- References: <87r841mgfq.fsf@fleche.redhat.com>
Tom Tromey writes:
> This patch removes some unused code from gcj.
>
> First, it isn't possible to have a transient method, so I just
> removed METHOD_TRANSIENT and updated its users.
>
> Second, there is some code in pushdecl that does nothing.
>
> Ok to commit?
>
> Tom
>
> Index: ChangeLog
> from Tom Tromey <tromey@redhat.com>
>
> * java-tree.h (METHOD_TRANSIENT): Removed.
> * decl.c (pushdecl): Removed some dead code.
> * class.c (get_access_flags_from_decl): Can't have transient
> method.
> (add_method_1): Can't have a transient method.
OK.
Andrew.