patch to bring java vtables closer to g++ abi conformance

Per Bothner per@bothner.com
Fri Feb 22 19:09:00 GMT 2002


I checked in this patch (orignally posted January 23):
2002年02月22日 Per Bothner <per@bothner.com>
	* class.c: Change vtable to be more compatible with g++ v3 abi.
	(get_dispatch_table): Prepend offset-to-top (always 0) and
	type_info pointer (currently unimplemented hence NULL) to vtable.
	Specifically, prepend offset-to-top and typeinfo ptr (currently null).
	(make_class_data): Variable dtable_start_offset is sizeof 2 pointers.
	Adjust vtable pointers by dtable_start_offse - i.e. skip new words.
	(build_dtable_decl): Add declarations for new fields.
-- 
	--Per Bothner
per@bothner.com http://www.bothner.com/per/


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /