Update new-abi upcast algorithm.
authorNathan Sidwell <nathan@codesourcery.com>
Wed, 24 May 2000 14:17:27 +0000 (14:17 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 24 May 2000 14:17:27 +0000 (14:17 +0000)
commit01ce976d50cf5b93c0026f8ff206af8a1544493e
tree7a15c653bab43cdfe24d767be7f58578104e59ce
parent0543d026a2a6366375b25b55dd318eb1cca6876c
Update new-abi upcast algorithm.

* inc/cxxabi.h (__class_type_info::__do_upcast): Change
prototype and meaning of return value.
(__si_class_type_info::__do_upcast): Likewise.
(__vmi_class_type_info::__do_upcast): Likewise.
* tinfo.cc (__class_type_info::__upcast_result): Replace
whole2dst with part2dst. Adjust ctor.
(__class_type_info::__do_upcast): Adjust call of worker function.
(__class_type_info::__do_upcast): Adjust.
(__si_class_type_info::__do_upcast): Adjust. Use parent's
__do_upcast.
(__vmi_class_type_info::__do_upcast): Likewise. Fix private
virtual base in diamond heirarchy bug.

From-SVN: r34132
gcc/cp/ChangeLog
gcc/cp/inc/cxxabi.h
gcc/cp/tinfo.cc