aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/method.c
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2004-04-10 14:44:14 +0000
committerKelley Cook <kcook@gcc.gnu.org>2004-04-10 14:44:14 +0000
commitb76525a7a53f201f2b3e47c472c488c07696592b (patch)
tree3636451759f60d28b3b0712f2c655afaa985b21c /gcc/cp/method.c
parentece2854f1a10d50cb59d6c9bc80fd1f5ccc454a0 (diff)
2004-04-09 Danny Smith <dannysmith@users.sourceforge.net>
* method.c (make_alias_for_thunk): Remove preprocessor guard on declaration and definition. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@80581 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/method.c')
-rw-r--r--gcc/cp/method.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/cp/method.c b/gcc/cp/method.c
index 49ba9834d99..d1ce575cae0 100644
--- a/gcc/cp/method.c
+++ b/gcc/cp/method.c
@@ -62,9 +62,7 @@ static tree synthesize_exception_spec (tree, tree (*) (tree, void *), void *);
static tree locate_dtor (tree, void *);
static tree locate_ctor (tree, void *);
static tree locate_copy (tree, void *);
-#ifdef ASM_OUTPUT_DEF
static tree make_alias_for_thunk (tree);
-#endif
/* Called once to initialize method.c. */
@@ -273,10 +271,7 @@ thunk_adjust (tree ptr, bool this_adjusting,
return ptr;
}
-/* Garbage collector tables contains thunk_labelno even when places
- inside ifdef block. */
static GTY (()) int thunk_labelno;
-#ifdef ASM_OUTPUT_DEF
/* Create a static alias to function. */
@@ -322,7 +317,6 @@ make_alias_for_thunk (tree function)
assemble_alias (alias, DECL_ASSEMBLER_NAME (function));
return alias;
}
-#endif
/* Emit the definition of a C++ multiple inheritance or covariant
return vtable thunk. If EMIT_P is nonzero, the thunk is emitted