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
This commit is contained in:
parent
3cb999d87f
commit
a36622c207
|
@ -1,5 +1,8 @@
|
|||
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.
|
||||
* class.c (modify_one_vtable): Change prototype accordingly.
|
||||
(modify_all_vtables): Likewise.
|
||||
|
@ -15,6 +18,7 @@
|
|||
(fixup_vtable_deltas): Likewise.
|
||||
(override_one_vtable): Likewise.
|
||||
(finish_struct_1): Likewise.
|
||||
|
||||
* error.c (dump_expr): Likewise.
|
||||
* search.c (get_abstract_virtuals_1): Likewise.
|
||||
(get_abstract_virtuals): Likewise.
|
||||
|
|
|
@ -2836,8 +2836,8 @@ override_one_vtable (binfo, old, t)
|
|||
|
||||
/* We can use integer_zero_node, as we will core dump
|
||||
if this is used anyway. */
|
||||
TREE_VALUE (virtuals) = build_vtable_entry (integer_zero_node,
|
||||
fndecl);
|
||||
TREE_PURPOSE (virtuals) = integer_zero_node;
|
||||
TREE_VALUE (virtuals) = fndecl;
|
||||
}
|
||||
}
|
||||
virtuals = TREE_CHAIN (virtuals);
|
||||
|
|
Loading…
Reference in New Issue