]> gcc.gnu.org Git - gcc.git/commit - gcc/langhooks-def.h
langhooks-def.h (lhd_set_decl_assembler_name, [...]): New.
authorNeil Booth <neil@daikokuya.demon.co.uk>
Wed, 3 Apr 2002 22:26:37 +0000 (22:26 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Wed, 3 Apr 2002 22:26:37 +0000 (22:26 +0000)
commit599bba86dffe8bd03676f4bf50bca436d3112b90
treea01f3b59f8231281416c086ab666faaa4b32176c
parentcf7b8b0dc4258c4530a283000eea788c211029f9
langhooks-def.h (lhd_set_decl_assembler_name, [...]): New.

* langhooks-def.h (lhd_set_decl_assembler_name,
LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): New.
(LANG_HOOKS_INITIALIZER): Update.
* langhooks.c (lhd_set_decl_assembler_name): New, from tree.c
* langhooks.h (struct lang_hooks): New hook.
* tree.c (set_decl_assembler_name): Move to langhooks.c.
(lang_set_decl_assembler_name): Remove.
(init_obstacks): Don't set hook.
(decl_assembler_name): New function.
* tree.h (DECL_ASSEMBLER_NAME): Turn into a function call.
(decl_assembler_name): New.
(lang_set_decl_assembler_name): Remove.
cp:
* cp-lang.c (LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): Redefine.
* tree.c (init_tree): Don't set hook.

From-SVN: r51817
gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/cp-lang.c
gcc/cp/tree.c
gcc/langhooks-def.h
gcc/langhooks.c
gcc/langhooks.h
gcc/tree.c
gcc/tree.h
This page took 0.057365 seconds and 5 git commands to generate.