This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Jeff Sturm wrote:
> +  /** Pointer to type_info object (to be implemented), according to g++ ABI. */
> +  list = tree_cons (NULL_TREE, integer_zero_node, list);
> 
> Why not a null_pointer_node?

I agree, that should probably be null_pointer_node, though it
doesn't really matter..  (It gets cast to ptr_type_node anyway.)

The following integer_zero_node in the offset-to-top also
should actually be cast to ptrdiff_t, but again since it gets
case to the field's type (ptr_type_node), it shouldn't matter.
-- 
	--Per Bothner
per@bothner.com   http://www.bothner.com/per/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]