Commit 9dd2b100 by Andreas Schwab Committed by Andreas Schwab

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

From-SVN: r26685
parent 41a12ce7
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> 1999-04-27 Nathan Sidwell <nathan@acm.org>
* rtti.c (build_x_typeid): Check rtti is enabled. * rtti.c (build_x_typeid): Check rtti is enabled.
......
...@@ -3211,6 +3211,7 @@ binfo_for_vtable (var) ...@@ -3211,6 +3211,7 @@ binfo_for_vtable (var)
type = DECL_CONTEXT (var); type = DECL_CONTEXT (var);
bfvi.vbases = CLASSTYPE_VBASECLASSES (type); bfvi.vbases = CLASSTYPE_VBASECLASSES (type);
bfvi.var = var;
return dfs_walk_real (TYPE_BINFO (type), return dfs_walk_real (TYPE_BINFO (type),
0, dfs_bfv_helper, dfs_bfv_queue_p, &bfvi); 0, dfs_bfv_helper, dfs_bfv_queue_p, &bfvi);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment