[java] remove some unused functions

Tom Tromey tromey@redhat.com
Tue Nov 23 00:09:00 GMT 2004


>>>>> "Ben" == Ben Elliston <bje@au1.ibm.com> writes:

Ben> Okay for mainline?
Ben> 2004-11-09  Ben Elliston  <bje@au.ibm.com>

Ben> 	* typeck.c (convert_to_boolean): Make static.
Ben> 	(convert_to_char): Likewise.
Ben> 	* convert.h (convert_to_boolean): Remove declaration.
Ben> 	(convert_to_char): Likewise.

This part looks fine to me, though I can't actually approve it.

Thanks for doing these cleanups btw.

Ben> 	* java-tree.h (java_inlining_merge_static_initializers): Remove.
Ben> 	(java_inlining_map_static_initializers): Likewise.
Ben> 	* lang.c (merge_init_test_initialization): Remove.
Ben> 	(inline_init_test_initialization): Likewise.
Ben> 	(java_inlining_merge_static_initializers): Likewise.
Ben> 	(java_inlining_map_static_initializers): Likewise.

I'm not sure about this part.  I think we may want to keep this code
around for solving PR 18399.  I'm not sure is it will actually be
useful for that, perhaps Andrew has an idea.

Tom



More information about the Gcc-patches mailing list