mangle.c (java_mangle_decl): Remove dead check.

2008-03-12  Paolo Bonzini  <bonzini@gnu.org>

	* mangle.c (java_mangle_decl): Remove dead check.

From-SVN: r133146
This commit is contained in:
Paolo Bonzini 2008-03-12 17:13:01 +00:00 committed by Paolo Bonzini
parent c83bd37c9d
commit 4b700ab045
2 changed files with 4 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2008-03-12 Paolo Bonzini <bonzini@gnu.org>
* mangle.c (java_mangle_decl): Remove dead check.
2008-03-11 Paolo Bonzini <bonzini@gnu.org>
* jcf-parse.c (java_parse_file): Assert binding levels are

View File

@ -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. */