* search.c (binfo_for_vtable): Initialize bfvi.var.

From-SVN: r26685
This commit is contained in:
Andreas Schwab 1999-04-28 02:47:34 +00:00 committed by Andreas Schwab
parent 41a12ce742
commit 9dd2b10068
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
Wed Apr 28 11:42:22 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* search.c (binfo_for_vtable): Initialize bfvi.var.
1999-04-27 Nathan Sidwell <nathan@acm.org>
* rtti.c (build_x_typeid): Check rtti is enabled.

View File

@ -3211,6 +3211,7 @@ binfo_for_vtable (var)
type = DECL_CONTEXT (var);
bfvi.vbases = CLASSTYPE_VBASECLASSES (type);
bfvi.var = var;
return dfs_walk_real (TYPE_BINFO (type),
0, dfs_bfv_helper, dfs_bfv_queue_p, &bfvi);
}