OSDN Git Service

PR 44103
authorfroydnj <froydnj@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 14 May 2010 20:47:39 +0000 (20:47 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 05:08:39 +0000 (14:08 +0900)
* java-tree.h (START_RECORD_CONSTRUCTOR): Change first argument to a
vector.  Move call to build_constructor...
(FINISH_RECORD_CONSTRUCTOR): ...here.  Add necessary arguments.  Clear
TREE_CONSTANT on the constructor.
(PUSH_SUPER_VALUE): Change first argument to a vector.
(PUSH_FIELD_VALUE): Likewise.
* resource.c (compile_resource_data): Update calls to above macros.
* constants.c (build_constants_constructor): Likewise.
* class.c (build_utf8_ref): Likewise.
(make_field_value): Likewise.
(make_method_value): Likewise.
(add_table_and_syms): New function.
(make_class_data): Call it.  Update calls to above macros.
(build_symbol_table_entry): New function.
(build_symbol_entry): Call it.  Update calls to above macros.
(emit_symbol_table): Likewise.
(make_catch_class_record): Update calls to above macros.
(build_assertion_table_entry): New function.
(add_assertion_table_entry): Call it.
(emit_assertion_table): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159414 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/java/ChangeLog

index a0b868d..b2de8bc 100644 (file)
@@ -1,3 +1,27 @@
+2010-05-14  Nathan Froyd  <froydnj@codesourcery.com>
+
+       PR 44103
+       * java-tree.h (START_RECORD_CONSTRUCTOR): Change first argument to a
+       vector.  Move call to build_constructor...
+       (FINISH_RECORD_CONSTRUCTOR): ...here.  Add necessary arguments.  Clear
+       TREE_CONSTANT on the constructor.
+       (PUSH_SUPER_VALUE): Change first argument to a vector.
+       (PUSH_FIELD_VALUE): Likewise.
+       * resource.c (compile_resource_data): Update calls to above macros.
+       * constants.c (build_constants_constructor): Likewise.
+       * class.c (build_utf8_ref): Likewise.
+       (make_field_value): Likewise.
+       (make_method_value): Likewise.
+       (add_table_and_syms): New function.
+       (make_class_data): Call it.  Update calls to above macros.
+       (build_symbol_table_entry): New function.
+       (build_symbol_entry): Call it.  Update calls to above macros.
+       (emit_symbol_table): Likewise.
+       (make_catch_class_record): Update calls to above macros.
+       (build_assertion_table_entry): New function.
+       (add_assertion_table_entry): Call it.
+       (emit_assertion_table): Likewise.
+
 2010-05-06  Manuel López-Ibáñez  <manu@gcc.gnu.org>
 
        PR 40989