This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: patch to bring java vtables closer to g++ abi conformance
- From: Per Bothner <per at bothner dot com>
- To: Jeff Sturm <jsturm at one-point dot com>
- Cc: gcc-patches at gcc dot gnu dot org, java at gcc dot gnu dot org
- Date: Wed, 23 Jan 2002 13:11:39 -0800
- Subject: Re: patch to bring java vtables closer to g++ abi conformance
- References: <Pine.LNX.4.10.10201231534330.2773-100000@mars.deadcafe.org>
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/