class.c (build_vbase_path): Simplify.
* class.c (build_vbase_path): Simplify. (dfs_propagate_binfo_offsets): New function. (propagate_binfo_offsets): Use it. (remove_base_field): Simplify. (dfs_set_offset_for_vbases): Remove. (dfs_set_offset_for_shared_vbases): New function. (dfs_set_offset_for_unshared_vbases): Likewise. (layout_virtual_bases): Use them. (layout_basetypes): Don't call propagate_binfo_offsets. * search.c (dfs_get_vbase_types): Clone completely fresh binfos for the vbases. From-SVN: r31316
Showing
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment