Commit 872c9284 by Richard Sandiford Committed by Richard Sandiford

cp-tree.h (init_init_processing): Remove declaration.

	* cp-tree.h (init_init_processing): Remove declaration.
	* init.c (BI_header_type, init_init_processing): Remove old ABI stuff.
	* decl.c (cxx_init_decl_processing): Don't call init_init_processing.

From-SVN: r50740
parent 2a55fd42
2002-03-12 Richard Sandiford <rsandifo@redhat.com>
* cp-tree.h (init_init_processing): Remove declaration.
* init.c (BI_header_type, init_init_processing): Remove old ABI stuff.
* decl.c (cxx_init_decl_processing): Don't call init_init_processing.
2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* cp-lang.c (tree_code_type, tree_code_length, tree_code_name): * cp-lang.c (tree_code_type, tree_code_length, tree_code_name):
......
...@@ -3900,7 +3900,6 @@ extern void add_friend PARAMS ((tree, tree)); ...@@ -3900,7 +3900,6 @@ extern void add_friend PARAMS ((tree, tree));
extern tree do_friend PARAMS ((tree, tree, tree, tree, tree, enum overload_flags, tree, int)); extern tree do_friend PARAMS ((tree, tree, tree, tree, tree, enum overload_flags, tree, int));
/* in init.c */ /* in init.c */
extern void init_init_processing PARAMS ((void));
extern void emit_base_init PARAMS ((tree, tree)); extern void emit_base_init PARAMS ((tree, tree));
extern tree expand_member_init PARAMS ((tree, tree, tree)); extern tree expand_member_init PARAMS ((tree, tree, tree));
extern tree build_aggr_init PARAMS ((tree, tree, int)); extern tree build_aggr_init PARAMS ((tree, tree, int));
......
...@@ -6586,7 +6586,6 @@ cxx_init_decl_processing () ...@@ -6586,7 +6586,6 @@ cxx_init_decl_processing ()
/* Perform other language dependent initializations. */ /* Perform other language dependent initializations. */
init_class_processing (); init_class_processing ();
init_init_processing ();
init_search_processing (); init_search_processing ();
init_rtti_processing (); init_rtti_processing ();
......
...@@ -56,26 +56,6 @@ static tree build_dtor_call PARAMS ((tree, special_function_kind, int)); ...@@ -56,26 +56,6 @@ static tree build_dtor_call PARAMS ((tree, special_function_kind, int));
static tree build_field_list PARAMS ((tree, tree, int *)); static tree build_field_list PARAMS ((tree, tree, int *));
static tree build_vtbl_address PARAMS ((tree)); static tree build_vtbl_address PARAMS ((tree));
/* Set up local variable for this file. MUST BE CALLED AFTER
INIT_DECL_PROCESSING. */
static tree BI_header_type;
void init_init_processing ()
{
tree fields[1];
/* Define the structure that holds header information for
arrays allocated via operator new. */
BI_header_type = make_aggr_type (RECORD_TYPE);
fields[0] = build_decl (FIELD_DECL, nelts_identifier, sizetype);
finish_builtin_type (BI_header_type, "__new_cookie", fields,
0, double_type_node);
ggc_add_tree_root (&BI_header_type, 1);
}
/* We are about to generate some complex initialization code. /* We are about to generate some complex initialization code.
Conceptually, it is all a single expression. However, we may want Conceptually, it is all a single expression. However, we may want
to include conditionals, loops, and other such statement-level to include conditionals, loops, and other such statement-level
......
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