diff options
author | Mark Mitchell <mark@codesourcery.com> | 2000-05-03 22:25:21 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2000-05-03 22:25:21 +0000 |
commit | eb68cb58219314b2df94efec3b9dc711b830f7e3 (patch) | |
tree | fb395af6f8b13f1f1cb8bcb18746ecc90790f4c6 /gcc/cp/dump.c | |
parent | 6428983a537afa26f27545f5579eb594bc6407e0 (diff) | |
download | gcc-eb68cb58219314b2df94efec3b9dc711b830f7e3.zip gcc-eb68cb58219314b2df94efec3b9dc711b830f7e3.tar.gz gcc-eb68cb58219314b2df94efec3b9dc711b830f7e3.tar.bz2 |
cp-tree.def (THUNK_DECL): Remove.
* cp-tree.def (THUNK_DECL): Remove.
* cp-tree.h (DECL_THUNK_P): New macro.
(DECL_NON_THUNK_FUNCTION_P): Likewise.
(DECL_EXTERN_C_FUNCTION_P): Likewise.
(SET_DECL_THUNK_P): Likewise.
(DELTA_FROM_VTABLE_ENTRY): Use DECL_THUNK_P.
(FNADDR_FROM_VTABLE_ENTRY): Likewise.
(DECL_MAIN_P): Use DECL_EXTERN_C_FUNCTION_P.
* decl.c (decls_match): Use DECL_EXTERN_C_P.
(duplicate_decls): Likewise.
(pushdecl): Likewise. Adjust thunk handling.
(grokfndecl): Use DECL_EXTERN_C_P.
* decl2.c (mark_vtable_entries): Use DECL_THUNK_P.
* dump.c (dequeue_and_dump): Remove THUNK_DECL handling.
* except.c (nothrow_libfn_p): Use DECL_EXTERN_C_P.
* expr.c (cplus_expand_expr): Remove THUNK_DECL handling.
* method.c (make_thunk): Use SET_DECL_THUNK_P. Set
DECL_NO_STATIC_CHAIN.
(emit_thunk): Don't play games with TREE_CODE on thunks. Don't
set DECL_DESTRUCTOR_P or DECL_CONSTRUCTOR_P on a thunk.
* search.c (covariant_return_p): Remove THUNK_DECL handling.
* ir.texi: Update.
From-SVN: r33647
Diffstat (limited to 'gcc/cp/dump.c')
-rw-r--r-- | gcc/cp/dump.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/cp/dump.c b/gcc/cp/dump.c index dd6673c..96b0016 100644 --- a/gcc/cp/dump.c +++ b/gcc/cp/dump.c @@ -556,7 +556,6 @@ dequeue_and_dump (di) break; case FUNCTION_DECL: - case THUNK_DECL: dump_child ("mngl", DECL_ASSEMBLER_NAME (t)); dump_child ("args", DECL_ARGUMENTS (t)); if (DECL_EXTERNAL (t)) |