aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/cp-lang.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2003-06-24 13:54:01 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2003-06-24 11:54:01 +0000
commitd35543c0dd3d5377461d7a1d2902b89543b65276 (patch)
treea6c9b0c5a6eb6385afb4054e152dcc98e8dc2066 /gcc/cp/cp-lang.c
parent3a63ab40104e4e1c24b80d1931b2dc6a8650a3df (diff)
downloadgcc-d35543c0dd3d5377461d7a1d2902b89543b65276.zip
gcc-d35543c0dd3d5377461d7a1d2902b89543b65276.tar.gz
gcc-d35543c0dd3d5377461d7a1d2902b89543b65276.tar.bz2
langhooks-def.h (LANG_HOOKS_PREPARE_ASSEMBLE_VARIABLE): New macro.
* langhooks-def.h (LANG_HOOKS_PREPARE_ASSEMBLE_VARIABLE): New macro. * langhooks.h (lang_hooks_for_decls): Add prepare_assemble_variable. * varasm.c (assemble_variable): Call prepare_assemble_variable. * class.c (build_vtable): Make vtables. * cp-tree.h (DECL_VTABLE_OR_VTT_P): New macro. * decl2.c (output_vtable_inherit): Rename to ... (prepare_assemble_variable): ... this one; change interface. (maybe_emit_vtables): Do not call output_vtable_inherit. * cp-lang.c (LANG_HOOKS_PREPARE_ASSEMBLE_VARIABLE): Define. * cp-tree.h (prepare_assemble_variable): New. From-SVN: r68418
Diffstat (limited to 'gcc/cp/cp-lang.c')
-rw-r--r--gcc/cp/cp-lang.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/cp/cp-lang.c b/gcc/cp/cp-lang.c
index 7914d81..c799437 100644
--- a/gcc/cp/cp-lang.c
+++ b/gcc/cp/cp-lang.c
@@ -145,6 +145,9 @@ static bool cp_var_mod_type_p (tree);
#undef LANG_HOOKS_EXPR_SIZE
#define LANG_HOOKS_EXPR_SIZE cp_expr_size
+#undef LANG_HOOKS_PREPARE_ASSEMBLE_VARIABLE
+#define LANG_HOOKS_PREPARE_ASSEMBLE_VARIABLE prepare_assemble_variable
+
#undef LANG_HOOKS_MAKE_TYPE
#define LANG_HOOKS_MAKE_TYPE cxx_make_type
#undef LANG_HOOKS_TYPE_FOR_MODE