This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [PATCH] remove build_constructor_from_list from Java FE
- From: Andrew Haley <aph at redhat dot com>
- To: Nathan Froyd <froydnj at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org, java-patches at gcc dot gnu dot org
- Date: Mon, 05 Jul 2010 15:01:08 +0100
- Subject: Re: [PATCH] remove build_constructor_from_list from Java FE
- References: <20100705130629.GJ17877@codesourcery.com>
On 07/05/2010 02:06 PM, Nathan Froyd wrote:
> The patch below converts all calls to build_constructor_from_list in the
> Java FE to use build_constructor instead. Not much exciting here.
>
> Tested on x86_64-unknown-linux-gnu (libjava testsuite). OK to commit?
>
> -Nathan
>
> * constants.c (build_constants_constructor): Use build_constructor
> instead of build_constructor_from_list.
> * class.c (make_method_value): Likewise.
> (get_dispatch_table): Likewise.
> (make_class_data): Likewise.
> (emit_indirect_register_classes): Likewise.
> (emit_symbol_table): Likewise.
> (add_assertion_table_entry): Likewise.
> (emit_assertion_table): Likewise.
> (make_field_value): Use build_constructor_single instead of
> build_constructor_from_list.
Sure, that all looks reasonable enough.
Thanks,
Andrew.