aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/tree.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2000-01-02 04:04:05 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2000-01-02 04:04:05 +0000
commit07b7a812fd2ee579c95189586fa8ab7f5bd856aa (patch)
tree74aec9dfb31654044a72c613403e66f30f2b28f5 /gcc/cp/tree.c
parent5e1677bcb0a88632d3f9ad495bf64748ec000a1e (diff)
downloadgcc-07b7a812fd2ee579c95189586fa8ab7f5bd856aa.zip
gcc-07b7a812fd2ee579c95189586fa8ab7f5bd856aa.tar.gz
gcc-07b7a812fd2ee579c95189586fa8ab7f5bd856aa.tar.bz2
cp-tree.h (skip_rtti_stuff): Adjust prototype.
* cp-tree.h (skip_rtti_stuff): Adjust prototype. * class.c (skip_rtti_stuff): Reorganize parameters and return value. (modify_one_vtable): Adjust. (fixup_vtable_deltas1): Likewise. (override_one_vtable): Likewise. * search.c (get_abstract_virtuals_1): Likewise. (get_pure_virtuals): Likewise. (expand_upcast_fixups): Likewise. * tree.c (debug_binfo): Likewise. From-SVN: r31163
Diffstat (limited to 'gcc/cp/tree.c')
-rw-r--r--gcc/cp/tree.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/cp/tree.c b/gcc/cp/tree.c
index ce26ec9..f5e2474 100644
--- a/gcc/cp/tree.c
+++ b/gcc/cp/tree.c
@@ -1165,9 +1165,7 @@ debug_binfo (elem)
else
fprintf (stderr, "no vtable decl yet\n");
fprintf (stderr, "virtuals:\n");
- virtuals = BINFO_VIRTUALS (elem);
-
- n = skip_rtti_stuff (&virtuals, BINFO_TYPE (elem));
+ virtuals = skip_rtti_stuff (elem, BINFO_TYPE (elem), &n);
while (virtuals)
{