aboutsummaryrefslogtreecommitdiff
path: root/gcc/final.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2001-06-06 17:52:52 -0400
committerJason Merrill <jason@gcc.gnu.org>2001-06-06 17:52:52 -0400
commitd0cd8b44016194824049ec6ee453d6864b73bc01 (patch)
tree54340a199d71a0aa015fcdf4fe886dffdcb11394 /gcc/final.c
parentacf97e0b7570b17a80d9b85d52a7cae9314a8f16 (diff)
downloadgcc-d0cd8b44016194824049ec6ee453d6864b73bc01.zip
gcc-d0cd8b44016194824049ec6ee453d6864b73bc01.tar.gz
gcc-d0cd8b44016194824049ec6ee453d6864b73bc01.tar.bz2
cp-tree.h (THUNK_GENERATE_WITH_VTABLE_P): Lose.
* cp-tree.h (THUNK_GENERATE_WITH_VTABLE_P): Lose. (struct lang_decl_flags): Lose generate_with_vtable_p. (BV_GENERATE_THUNK_WITH_VTABLE_P): Lose. * class.c (copy_virtuals): Adjust. * decl2.c (mark_vtable_entries): Adjust. * method.c (make_thunk, build_vtable_entry): Adjust. * class.c (update_vtable_entry_for_fn): Only look as far as the first defining class. (build_vtbl_initializer): Put nothing in the slot for a function only defined in a lost primary virtual base. (add_vcall_offset_vtbl_entries_1): Use the same code for the lost primary case and the normal case. (dfs_unshared_virtual_bases): Don't lose a non-virtual primary base. (get_vfield_offset, get_derived_offset): Lose. (dfs_find_final_overrider): Use look_for_overrides_here. (get_matching_virtual): New fn. * semantics.c (emit_associated_thunks): Check BV_USE_VCALL_INDEX_P, not BV_VCALL_INDEX. * search.c (look_for_overrides_here): Split out from... (look_for_overrides_r): Here. * class.c (find_final_overrider): Return error_mark_node on error. From-SVN: r42949
Diffstat (limited to 'gcc/final.c')
0 files changed, 0 insertions, 0 deletions