From: Paolo Bonzini Date: Wed, 12 Mar 2008 17:13:01 +0000 (+0000) Subject: mangle.c (java_mangle_decl): Remove dead check. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4b700ab045e25bb751584223b06e838d3e5dc826;p=gcc.git mangle.c (java_mangle_decl): Remove dead check. 2008-03-12 Paolo Bonzini * mangle.c (java_mangle_decl): Remove dead check. From-SVN: r133146 --- diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index f783e53a250..7a35a1e73bd 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,7 @@ +2008-03-12 Paolo Bonzini + + * mangle.c (java_mangle_decl): Remove dead check. + 2008-03-11 Paolo Bonzini * jcf-parse.c (java_parse_file): Assert binding levels are diff --git a/gcc/java/mangle.c b/gcc/java/mangle.c index c92be1c0693..2e89a30f992 100644 --- a/gcc/java/mangle.c +++ b/gcc/java/mangle.c @@ -239,9 +239,6 @@ cxx_keyword_p (const char *name, int length) void java_mangle_decl (tree decl) { - if (TREE_CODE (decl) == RECORD_TYPE) - mangle_type (decl); - /* A copy of the check from the beginning of lhd_set_decl_assembler_name. Only FUNCTION_DECLs and VAR_DECLs for variables with static storage duration need a real DECL_ASSEMBLER_NAME. */