1999-09-29 Mark Mitchell <mark@codesourcery.com>
+ * dump.c (dequeue_and_dump): Dump DECL_EXTERNAL.
+ * ir.texi: Document DECL_EXTERNAL.
+
* dump.c (dequeue_and_dump): Improve support for dumping THUNK_DECLs.
* ir.texi: Document THUNK_DECLs.
dump_child ("mngl", DECL_ASSEMBLER_NAME (t));
dump_child ("args", DECL_ARGUMENTS (t));
}
+ if (DECL_EXTERNAL (t))
+ dump_string (di, "undefined");
if (TREE_PUBLIC (t))
dump_string(di, "extern");
else
@findex DECL_INITIAL
@findex DECL_SIZE
@findex DECL_ALIGN
+@findex DECL_EXTERNAL
This chapter covers the various kinds of declarations that appear in the
internal representation, except for declarations of functions
control is transferred directly to the caller, without returning to the
thunk. The first parameter to the thunk is always the @code{this}
pointer; the thunk should add @code{THUNK_DELTA} to this value. (The
-@code{THUNK_DECL} is an @code{int}, not an @code{INTEGER_CST}.) Then,
+@code{THUNK_DELTA} is an @code{int}, not an @code{INTEGER_CST}.) Then,
the thunk should jump to the location given by @code{DECL_INITIAL}; this
will always be an expression for the address of a function.
modifications. (Of course, the back-end should not modify
@code{DECL_ASSEMBLER_NAME} itself.)
+@item DECL_EXTERNAL
+This predicate holds if the function is undefined.
+
@item TREE_PUBLIC
This predicate holds if the function has external linkage.
@end ftable
-FIXME: Explain about constructor try-catch blocks.
-
@c ---------------------------------------------------------------------
@c Function Bodies
@c ---------------------------------------------------------------------