OSDN Git Service

Update new-abi upcast algorithm.
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 24 May 2000 14:17:27 +0000 (14:17 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 24 May 2000 14:17:27 +0000 (14:17 +0000)
commit33c1bf651bcd841dcfda4b91f06da299fd124614
tree7a15c653bab43cdfe24d767be7f58578104e59ce
parent79efd58a9699e00b09d29e0a00fa7daa59c0f489
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34132 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/inc/cxxabi.h
gcc/cp/tinfo.cc