mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-31 02:14:49 +08:00
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
This commit is contained in:
parent
2a55fd4253
commit
872c9284b0
@ -1,3 +1,9 @@
|
||||
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>
|
||||
|
||||
* cp-lang.c (tree_code_type, tree_code_length, tree_code_name):
|
||||
|
@ -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));
|
||||
|
||||
/* in init.c */
|
||||
extern void init_init_processing PARAMS ((void));
|
||||
extern void emit_base_init PARAMS ((tree, tree));
|
||||
extern tree expand_member_init PARAMS ((tree, tree, tree));
|
||||
extern tree build_aggr_init PARAMS ((tree, tree, int));
|
||||
|
@ -6586,7 +6586,6 @@ cxx_init_decl_processing ()
|
||||
|
||||
/* Perform other language dependent initializations. */
|
||||
init_class_processing ();
|
||||
init_init_processing ();
|
||||
init_search_processing ();
|
||||
init_rtti_processing ();
|
||||
|
||||
|
@ -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_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.
|
||||
Conceptually, it is all a single expression. However, we may want
|
||||
to include conditionals, loops, and other such statement-level
|
||||
|
Loading…
Reference in New Issue
Block a user