From: Franz Sirl Date: Fri, 8 Oct 1999 05:50:44 +0000 (+0000) Subject: cp-tree.h (cp_make_lake_type): Renamed from make_lang_type. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=266f2faa84173e3247d07db0ab8a05e0c07bd676;p=platform%2Fupstream%2Fgcc.git cp-tree.h (cp_make_lake_type): Renamed from make_lang_type. * cp-tree.h (cp_make_lake_type): Renamed from make_lang_type. * lex.c (cp_make_lake_type): Likewise. * tree.c (init_tree): Init make_lang_type_fn. From-SVN: r29865 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 97f1698..f2b8ae8 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,9 @@ +1999-10-7 Franz Sirl + + * cp-tree.h (cp_make_lake_type): Renamed from make_lang_type. + * lex.c (cp_make_lake_type): Likewise. + * tree.c (init_tree): Init make_lang_type_fn. + 1999-10-07 Mark Mitchell * pt.c (tsubst_expr): Set DECL_TEMPLATE_INSTANTIATED for a catch diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h index 0a5d447..4c00f00 100644 --- a/gcc/cp/cp-tree.h +++ b/gcc/cp/cp-tree.h @@ -3649,7 +3649,7 @@ extern int is_rid PROTO((tree)); extern tree build_lang_decl PROTO((enum tree_code, tree, tree)); extern void retrofit_lang_decl PROTO((tree)); extern void copy_lang_decl PROTO((tree)); -extern tree make_lang_type PROTO((enum tree_code)); +extern tree cp_make_lang_type PROTO((enum tree_code)); extern void dump_time_statistics PROTO((void)); extern void compiler_error PVPROTO((const char *, ...)) ATTRIBUTE_PRINTF_1; diff --git a/gcc/cp/lex.c b/gcc/cp/lex.c index 5d87eea..b65c033 100644 --- a/gcc/cp/lex.c +++ b/gcc/cp/lex.c @@ -4795,7 +4795,7 @@ copy_lang_decl (node) } tree -make_lang_type (code) +cp_make_lang_type (code) enum tree_code code; { register tree t = make_node (code); diff --git a/gcc/cp/tree.c b/gcc/cp/tree.c index 347668b..b27f9c8 100644 --- a/gcc/cp/tree.c +++ b/gcc/cp/tree.c @@ -2857,6 +2857,7 @@ mark_list_hash (arg) void init_tree () { + make_lang_type_fn = cp_make_lang_type; lang_unsave_expr_now = cplus_unsave_expr_now; ggc_add_root (list_hash_table, sizeof (list_hash_table) / sizeof (struct list_hash *),