diff options
Diffstat (limited to 'gcc/java')
-rw-r--r-- | gcc/java/builtins.c | 2 | ||||
-rw-r--r-- | gcc/java/class.c | 38 | ||||
-rw-r--r-- | gcc/java/constants.c | 6 | ||||
-rw-r--r-- | gcc/java/decl.c | 4 | ||||
-rw-r--r-- | gcc/java/except.c | 2 | ||||
-rw-r--r-- | gcc/java/expr.c | 2 | ||||
-rw-r--r-- | gcc/java/resource.c | 4 |
7 files changed, 29 insertions, 29 deletions
diff --git a/gcc/java/builtins.c b/gcc/java/builtins.c index 8068c04..5219f23 100644 --- a/gcc/java/builtins.c +++ b/gcc/java/builtins.c @@ -144,7 +144,7 @@ define_builtin (enum built_in_function val, DECL_EXTERNAL (decl) = 1; TREE_PUBLIC (decl) = 1; SET_DECL_ASSEMBLER_NAME (decl, get_identifier (libname)); - make_decl_rtl (decl, NULL); + make_decl_rtl (decl); pushdecl (decl); DECL_BUILT_IN_CLASS (decl) = BUILT_IN_NORMAL; DECL_FUNCTION_CODE (decl) = val; diff --git a/gcc/java/class.c b/gcc/java/class.c index 82ae822..7f4c01c 100644 --- a/gcc/java/class.c +++ b/gcc/java/class.c @@ -920,9 +920,9 @@ build_utf8_ref (tree name) TREE_CHAIN (decl) = utf8_decl_list; layout_decl (decl, 0); pushdecl (decl); - rest_of_decl_compilation (decl, (char*) 0, global_bindings_p (), 0); + rest_of_decl_compilation (decl, global_bindings_p (), 0); utf8_decl_list = decl; - make_decl_rtl (decl, (char*) 0); + make_decl_rtl (decl); ref = build1 (ADDR_EXPR, utf8const_ptr_type, decl); IDENTIFIER_UTF8_REF (name) = ref; return ref; @@ -985,7 +985,7 @@ build_class_ref (tree type) SET_DECL_ASSEMBLER_NAME (decl, java_mangle_class_field (&temporary_obstack, type)); - make_decl_rtl (decl, NULL); + make_decl_rtl (decl); pushdecl_top_level (decl); } } @@ -1037,7 +1037,7 @@ build_class_ref (tree type) TREE_STATIC (decl) = 1; TREE_PUBLIC (decl) = 1; DECL_EXTERNAL (decl) = 1; - make_decl_rtl (decl, NULL); + make_decl_rtl (decl); pushdecl_top_level (decl); } } @@ -1073,7 +1073,7 @@ build_static_field_ref (tree fdecl) { if (is_compiled == 1) DECL_EXTERNAL (fdecl) = 1; - make_decl_rtl (fdecl, NULL); + make_decl_rtl (fdecl); } return fdecl; } @@ -1311,7 +1311,7 @@ make_method_value (tree mdecl) TREE_STATIC (array) = 1; DECL_ARTIFICIAL (array) = 1; DECL_IGNORED_P (array) = 1; - rest_of_decl_compilation (array, (char*) 0, 1, 0); + rest_of_decl_compilation (array, 1, 0); table = build1 (ADDR_EXPR, ptr_type_node, array); } @@ -1385,7 +1385,7 @@ get_dispatch_table (tree type, tree this_class_addr) else { if (!DECL_RTL_SET_P (method)) - make_decl_rtl (method, NULL); + make_decl_rtl (method); if (TARGET_VTABLE_USES_DESCRIPTORS) for (j = 0; j < TARGET_VTABLE_USES_DESCRIPTORS; ++j) @@ -1528,7 +1528,7 @@ make_class_data (tree type) if (initial != NULL_TREE && TREE_TYPE (initial) == string_ptr_type_node) DECL_INITIAL (field) = NULL_TREE; - rest_of_decl_compilation (field, (char*) 0, 1, 1); + rest_of_decl_compilation (field, 1, 1); DECL_INITIAL (field) = initial; } else @@ -1552,7 +1552,7 @@ make_class_data (tree type) TREE_STATIC (fields_decl) = 1; DECL_ARTIFICIAL (fields_decl) = 1; DECL_IGNORED_P (fields_decl) = 1; - rest_of_decl_compilation (fields_decl, (char*) 0, 1, 0); + rest_of_decl_compilation (fields_decl, 1, 0); } else fields_decl = NULL_TREE; @@ -1578,7 +1578,7 @@ make_class_data (tree type) TREE_STATIC (methods_decl) = 1; DECL_ARTIFICIAL (methods_decl) = 1; DECL_IGNORED_P (methods_decl) = 1; - rest_of_decl_compilation (methods_decl, (char*) 0, 1, 0); + rest_of_decl_compilation (methods_decl, 1, 0); if (supers_all_compiled (type) && ! CLASS_INTERFACE (type_decl) && !flag_indirect_dispatch) @@ -1590,7 +1590,7 @@ make_class_data (tree type) DECL_ARTIFICIAL (dtable_decl) = 1; DECL_IGNORED_P (dtable_decl) = 1; TREE_PUBLIC (dtable_decl) = 1; - rest_of_decl_compilation (dtable_decl, (char*) 0, 1, 0); + rest_of_decl_compilation (dtable_decl, 1, 0); if (type == class_type_node) class_dtable_decl = dtable_decl; } @@ -1603,7 +1603,7 @@ make_class_data (tree type) DECL_IGNORED_P (class_dtable_decl) = 1; if (is_compiled_class (class_type_node) != 2) DECL_EXTERNAL (class_dtable_decl) = 1; - rest_of_decl_compilation (class_dtable_decl, (char*) 0, 1, 0); + rest_of_decl_compilation (class_dtable_decl, 1, 0); } super = CLASSTYPE_SUPER (type); @@ -1658,7 +1658,7 @@ make_class_data (tree type) DECL_ARTIFICIAL (idecl) = 1; DECL_IGNORED_P (idecl) = 1; interfaces = build1 (ADDR_EXPR, ptr_type_node, idecl); - rest_of_decl_compilation (idecl, (char*) 0, 1, 0); + rest_of_decl_compilation (idecl, 1, 0); } constant_pool_constructor = build_constants_constructor (); @@ -1781,7 +1781,7 @@ make_class_data (tree type) if (flag_hash_synchronization && POINTER_SIZE < 64) DECL_ALIGN (decl) = 64; - rest_of_decl_compilation (decl, (char*) 0, 1, 0); + rest_of_decl_compilation (decl, 1, 0); } void @@ -1792,7 +1792,7 @@ finish_class (void) current_function_decl = NULL_TREE; make_class_data (current_class); register_class (); - rest_of_decl_compilation (TYPE_NAME (current_class), (char*) 0, 1, 0); + rest_of_decl_compilation (TYPE_NAME (current_class), 1, 0); } /* Return 2 if CLASS is compiled by this compilation job; @@ -2189,7 +2189,7 @@ layout_class_method (tree this_class, tree super_class, if (! METHOD_ABSTRACT (method_decl) || (CLASS_INTERFACE (TYPE_NAME (this_class)) && (DECL_CLINIT_P (method_decl)))) - make_decl_rtl (method_decl, NULL); + make_decl_rtl (method_decl); if (ID_INIT_P (method_name)) { @@ -2388,7 +2388,7 @@ emit_symbol_table (tree name, tree the_table, tree decl_list, DECL_INITIAL (the_syms_decl) = table; DECL_ARTIFICIAL (the_syms_decl) = 1; DECL_IGNORED_P (the_syms_decl) = 1; - rest_of_decl_compilation (the_syms_decl, NULL, 1, 0); + rest_of_decl_compilation (the_syms_decl, 1, 0); /* Now that its size is known, redefine the table as an uninitialized static array of INDEX + 1 elements. The extra entry @@ -2399,7 +2399,7 @@ emit_symbol_table (tree name, tree the_table, tree decl_list, the_table = build_decl (VAR_DECL, name, the_array_type); TREE_STATIC (the_table) = 1; TREE_READONLY (the_table) = 1; - rest_of_decl_compilation (the_table, NULL, 1, 0); + rest_of_decl_compilation (the_table, 1, 0); return the_table; } @@ -2446,7 +2446,7 @@ emit_catch_table (tree this_class) TREE_STATIC (table) = 1; TREE_READONLY (table) = 1; DECL_IGNORED_P (table) = 1; - rest_of_decl_compilation (table, NULL, 1, 0); + rest_of_decl_compilation (table, 1, 0); return table; } diff --git a/gcc/java/constants.c b/gcc/java/constants.c index d844772..cffd5d9 100644 --- a/gcc/java/constants.c +++ b/gcc/java/constants.c @@ -411,7 +411,7 @@ build_constant_data_ref (void) decl = build_decl (VAR_DECL, decl_name, type); TREE_STATIC (decl) = 1; - make_decl_rtl (decl, NULL); + make_decl_rtl (decl); TYPE_CPOOL_DATA_REF (output_class) = decl; } @@ -468,7 +468,7 @@ build_constants_constructor (void) data_list); DECL_SIZE (data_decl) = TYPE_SIZE (TREE_TYPE (data_decl)); DECL_SIZE_UNIT (data_decl) = TYPE_SIZE_UNIT (TREE_TYPE (data_decl)); - rest_of_decl_compilation (data_decl, (char *) 0, 1, 0); + rest_of_decl_compilation (data_decl, 1, 0); data_value = build_address_of (data_decl); tags_type = build_array_type (unsigned_byte_type_node, index_type); @@ -477,7 +477,7 @@ build_constants_constructor (void) tags_type); TREE_STATIC (tags_decl) = 1; DECL_INITIAL (tags_decl) = build_constructor (tags_type, tags_list); - rest_of_decl_compilation (tags_decl, (char*) 0, 1, 0); + rest_of_decl_compilation (tags_decl, 1, 0); tags_value = build_address_of (tags_decl); } else diff --git a/gcc/java/decl.c b/gcc/java/decl.c index 54a2e20..73653b2 100644 --- a/gcc/java/decl.c +++ b/gcc/java/decl.c @@ -506,7 +506,7 @@ builtin_function (const char *name, TREE_PUBLIC (decl) = 1; if (library_name) SET_DECL_ASSEMBLER_NAME (decl, get_identifier (library_name)); - make_decl_rtl (decl, NULL); + make_decl_rtl (decl); pushdecl (decl); DECL_BUILT_IN_CLASS (decl) = cl; DECL_FUNCTION_CODE (decl) = function_code; @@ -1983,7 +1983,7 @@ java_mark_decl_local (tree decl) /* If we've already constructed DECL_RTL, give encode_section_info a second chance, now that we've changed the flags. */ if (DECL_RTL_SET_P (decl)) - make_decl_rtl (decl, NULL); + make_decl_rtl (decl); } void diff --git a/gcc/java/except.c b/gcc/java/except.c index b45f79a..9ef549b 100644 --- a/gcc/java/except.c +++ b/gcc/java/except.c @@ -386,7 +386,7 @@ expand_catch_class (void **entry, void *x ATTRIBUTE_UNUSED) tree decl; STRIP_NOPS (addr); decl = TREE_OPERAND (addr, 0); - rest_of_decl_compilation (decl, (char*) 0, global_bindings_p (), 0); + rest_of_decl_compilation (decl, global_bindings_p (), 0); return true; } diff --git a/gcc/java/expr.c b/gcc/java/expr.c index 73e3e81..1479b6e 100644 --- a/gcc/java/expr.c +++ b/gcc/java/expr.c @@ -1829,7 +1829,7 @@ build_known_method_ref (tree method, tree method_type ATTRIBUTE_UNUSED, if (!flag_indirect_dispatch || (!TREE_PUBLIC (method) && DECL_CONTEXT (method))) { - make_decl_rtl (method, NULL); + make_decl_rtl (method); func = build1 (ADDR_EXPR, build_pointer_type (TREE_TYPE (method)), method); } diff --git a/gcc/java/resource.c b/gcc/java/resource.c index 512b903..6257d37 100644 --- a/gcc/java/resource.c +++ b/gcc/java/resource.c @@ -91,8 +91,8 @@ compile_resource_data (const char *name, const char *buffer, int length) DECL_INITIAL (decl) = rinit; layout_decl (decl, 0); pushdecl (decl); - rest_of_decl_compilation (decl, (char*) 0, global_bindings_p (), 0); - make_decl_rtl (decl, (char*) 0); + rest_of_decl_compilation (decl, global_bindings_p (), 0); + make_decl_rtl (decl); assemble_variable (decl, 1, 0, 0); resources = tree_cons (NULL_TREE, decl, resources); |