diff options
author | Stan Shebs <shebs@apple.com> | 2001-08-03 00:14:01 +0000 |
---|---|---|
committer | Stan Shebs <shebs@gcc.gnu.org> | 2001-08-03 00:14:01 +0000 |
commit | dff94ad7470cadea94dbb94b5e66b56229b37cc5 (patch) | |
tree | fbc5a618011be3e484bd259a419b66ff15a16386 /gcc/cp/cp-tree.h | |
parent | 8d6a437584510830e51262dabe3416c88dce431e (diff) | |
download | gcc-dff94ad7470cadea94dbb94b5e66b56229b37cc5.zip gcc-dff94ad7470cadea94dbb94b5e66b56229b37cc5.tar.gz gcc-dff94ad7470cadea94dbb94b5e66b56229b37cc5.tar.bz2 |
cp-tree.h (FNADDR_FROM_VTABLE_ENTRY): Remove, no longer used.
* cp-tree.h (FNADDR_FROM_VTABLE_ENTRY): Remove, no longer used.
(fnaddr_from_vtable_entry): Remove decl.
* method.c (use_thunk): Update comment.
From-SVN: r44587
Diffstat (limited to 'gcc/cp/cp-tree.h')
-rw-r--r-- | gcc/cp/cp-tree.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h index 4980cf4..0bc60ae 100644 --- a/gcc/cp/cp-tree.h +++ b/gcc/cp/cp-tree.h @@ -1146,13 +1146,6 @@ enum languages { lang_c, lang_cplusplus, lang_java }; ((CP_TYPE_QUALS (NODE) & (TYPE_QUAL_CONST | TYPE_QUAL_VOLATILE)) \ == TYPE_QUAL_CONST) -/* Virtual function addresses can be gotten from a virtual function - table entry using this macro. */ -#define FNADDR_FROM_VTABLE_ENTRY(ENTRY) \ - (DECL_THUNK_P (TREE_OPERAND ((ENTRY), 0)) \ - : DECL_INITIAL (TREE_OPERAND ((ENTRY), 0)) \ - ? (ENTRY)) - #define FUNCTION_ARG_CHAIN(NODE) \ (TREE_CHAIN (TYPE_ARG_TYPES (TREE_TYPE (NODE)))) @@ -4185,7 +4178,6 @@ extern int bound_pmf_p PARAMS ((tree)); extern tree ovl_cons PARAMS ((tree, tree)); extern int ovl_member PARAMS ((tree, tree)); extern tree build_overload PARAMS ((tree, tree)); -extern tree fnaddr_from_vtable_entry PARAMS ((tree)); extern tree function_arg_chain PARAMS ((tree)); extern int promotes_to_aggr_type PARAMS ((tree, enum tree_code)); extern int is_aggr_type_2 PARAMS ((tree, tree)); |