Commit a36622c2 by Mark Mitchell Committed by Mark Mitchell

class.c (override_one_vtable): Adjust the use of BINFO_VIRTUALS here too.

	* class.c (override_one_vtable): Adjust the use of BINFO_VIRTUALS
	here too.

From-SVN: r28301
parent 3cb999d8
1999-07-27 Mark Mitchell <mark@codesourcery.com> 1999-07-27 Mark Mitchell <mark@codesourcery.com>
* class.c (override_one_vtable): Adjust the use of BINFO_VIRTUALS
here too.
* cp-tree.h (BINFO_VIRTUALS): Document new format. * cp-tree.h (BINFO_VIRTUALS): Document new format.
* class.c (modify_one_vtable): Change prototype accordingly. * class.c (modify_one_vtable): Change prototype accordingly.
(modify_all_vtables): Likewise. (modify_all_vtables): Likewise.
...@@ -15,6 +18,7 @@ ...@@ -15,6 +18,7 @@
(fixup_vtable_deltas): Likewise. (fixup_vtable_deltas): Likewise.
(override_one_vtable): Likewise. (override_one_vtable): Likewise.
(finish_struct_1): Likewise. (finish_struct_1): Likewise.
* error.c (dump_expr): Likewise. * error.c (dump_expr): Likewise.
* search.c (get_abstract_virtuals_1): Likewise. * search.c (get_abstract_virtuals_1): Likewise.
(get_abstract_virtuals): Likewise. (get_abstract_virtuals): Likewise.
......
...@@ -2836,8 +2836,8 @@ override_one_vtable (binfo, old, t) ...@@ -2836,8 +2836,8 @@ override_one_vtable (binfo, old, t)
/* We can use integer_zero_node, as we will core dump /* We can use integer_zero_node, as we will core dump
if this is used anyway. */ if this is used anyway. */
TREE_VALUE (virtuals) = build_vtable_entry (integer_zero_node, TREE_PURPOSE (virtuals) = integer_zero_node;
fndecl); TREE_VALUE (virtuals) = fndecl;
} }
} }
virtuals = TREE_CHAIN (virtuals); virtuals = TREE_CHAIN (virtuals);
......
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