Commit 61e72330 by Julian Brown Committed by Julian Brown

decl.c (finish_method): Revert patch from 2005-04-13 for breaking indirect dispatch with PIC.

	* java/decl.c (finish_method): Revert patch from 2005-04-13 for breaking
	indirect dispatch with PIC.

From-SVN: r98408
parent 042630ad
2005-04-19 Julian Brown <julian@codesourcery.com>
* decl.c (finish_method): Revert patch from 2005-04-13 for breaking
indirect dispatch with PIC.
2005-04-18 Andrew Haley <aph@redhat.com> 2005-04-18 Andrew Haley <aph@redhat.com>
* java-except.h (struct eh_range.handler): Remove unused field. * java-except.h (struct eh_range.handler): Remove unused field.
......
...@@ -2057,13 +2057,6 @@ finish_method (tree fndecl) ...@@ -2057,13 +2057,6 @@ finish_method (tree fndecl)
build2 (TRY_FINALLY_EXPR, void_type_node, *tp, exit)); build2 (TRY_FINALLY_EXPR, void_type_node, *tp, exit));
} }
/* Ensure non-abstract non-static non-private members are defined only once
when linking. This is an issue when using CNI to interface with C++ object
files. */
if (! METHOD_STATIC (fndecl) && ! METHOD_PRIVATE (fndecl)
&& ! METHOD_ABSTRACT (fndecl) && ! METHOD_FINAL (fndecl))
make_decl_one_only (fndecl);
/* Prepend class initialization for static methods reachable from /* Prepend class initialization for static methods reachable from
other classes. */ other classes. */
if (METHOD_STATIC (fndecl) if (METHOD_STATIC (fndecl)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment