Commit 7d02bbef by Jason Merrill

* tree.h (BINFO_OFFSET_ZEROP): Use integer_zerop.

From-SVN: r19199
parent 556ffb67
Mon Apr 13 11:31:49 1998 Jason Merrill <jason@yorick.cygnus.com>
* tree.h (BINFO_OFFSET_ZEROP): Use integer_zerop.
Sun Apr 12 20:55:32 1998 Catherine Moore <clm@cygnus.com>
* invoke.texi (ld options) Include memset requirements
......@@ -1955,6 +1959,11 @@ Fri Feb 20 16:22:13 1998 Michael Meissner <meissner@cygnus.com>
* collect2.c (main): Still handle !do_collecting for non-AIX targets.
1998-02-16 Mark Mitchell <mmitchell@usa.net>
* toplev.c (rest_of_compilation): Do not defer the output of a
nested function.
Fri Feb 20 10:39:47 1998 Michael Tiemann <michael@impact.tiemann.org>
* ginclude/va-mips.h (va_arg): Remove trailing space after '\'
......@@ -2240,6 +2249,12 @@ Sat Feb 14 02:02:41 1998 Jeffrey A Law (law@cygnus.com)
* varasm.c (assemble_string): Similarly for 'i'.
* i386.h (LEGITIMIZE_ADDRESS): Similarly for 'orig_x'.
1998-02-13 Martin von Loewis <loewis@informatik.hu-berlin.de>
* c-lang.c (lang_print_xnode): New function.
* objc/objc-act.c (lang_print_xnode): Likewise.
* print-tree.c (print_node): Call it
Fri Feb 13 14:38:34 1998 Jim Wilson <wilson@cygnus.com>
* dwarf2out.c (decl_scope_node): New type.
......
......@@ -847,7 +847,7 @@ struct tree_type
#define BINFO_OFFSET(NODE) TREE_VEC_ELT ((NODE), 1)
#define TYPE_BINFO_OFFSET(NODE) BINFO_OFFSET (TYPE_BINFO (NODE))
#define BINFO_OFFSET_ZEROP(NODE) (BINFO_OFFSET (NODE) == integer_zero_node)
#define BINFO_OFFSET_ZEROP(NODE) (integer_zerop (BINFO_OFFSET (NODE)))
/* The virtual function table belonging to this basetype. Virtual
function tables provide a mechanism for run-time method dispatching.
......@@ -875,15 +875,18 @@ struct tree_type
#define BINFO_BASETYPES(NODE) TREE_VEC_ELT ((NODE), 4)
#define TYPE_BINFO_BASETYPES(NODE) TREE_VEC_ELT (TYPE_BINFO (NODE), 4)
/* Accessor macro to get to the Nth basetype of this basetype. */
#define BINFO_BASETYPE(NODE,N) TREE_VEC_ELT (BINFO_BASETYPES (NODE), (N))
#define TYPE_BINFO_BASETYPE(NODE,N) BINFO_TYPE (TREE_VEC_ELT (BINFO_BASETYPES (TYPE_BINFO (NODE)), (N)))
/* For a BINFO record describing an inheritance, this yields a pointer
to the artificial FIELD_DECL node which contains the "virtual base
class pointer" for the given inheritance. */
#define BINFO_VPTR_FIELD(NODE) TREE_VEC_ELT ((NODE), 5)
/* Accessor macro to get to the Nth basetype of this basetype. */
#define BINFO_BASETYPE(NODE,N) TREE_VEC_ELT (BINFO_BASETYPES (NODE), (N))
#define TYPE_BINFO_BASETYPE(NODE,N) BINFO_TYPE (TREE_VEC_ELT (BINFO_BASETYPES (TYPE_BINFO (NODE)), (N)))
/* The size of a base class subobject of this type. */
#define BINFO_SIZE(NODE) TREE_VEC_ELT ((NODE), 6)
#define TYPE_BINFO_SIZE(NODE) BINFO_SIZE (TYPE_BINFO (NODE))
/* Slot used to build a chain that represents a use of inheritance.
For example, if X is derived from Y, and Y is derived from Z,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment