* tree.h (FUNCTION_NEEDS_STATIC_CHAIN): New macro.
From-SVN: r8936
This commit is contained in:
parent
2f7a07c294
commit
1ce7b471ec
@ -944,6 +944,13 @@ struct tree_type
|
|||||||
alternative would be passed. */
|
alternative would be passed. */
|
||||||
#define DECL_TRANSPARENT_UNION(NODE) ((NODE)->decl.transparent_union)
|
#define DECL_TRANSPARENT_UNION(NODE) ((NODE)->decl.transparent_union)
|
||||||
|
|
||||||
|
/* In a FUNCTION_DECL, zero means it is a nested function that needs
|
||||||
|
a trampoline (closure). If nonzero, it is a normal function.
|
||||||
|
(A nested function can be static if it doesn't need to reference
|
||||||
|
stack variables in a surrounding function.)
|
||||||
|
This is unrelated to whether a function is static in the C sense. */
|
||||||
|
#define FUNCTION_NEEDS_STATIC_CHAIN(NODE) ((NODE)->decl.transparent_union)
|
||||||
|
|
||||||
/* Used in FUNCTION_DECLs to indicate that they should be run automatically
|
/* Used in FUNCTION_DECLs to indicate that they should be run automatically
|
||||||
at the beginning or end of execution. */
|
at the beginning or end of execution. */
|
||||||
#define DECL_STATIC_CONSTRUCTOR(NODE) ((NODE)->decl.static_ctor_flag)
|
#define DECL_STATIC_CONSTRUCTOR(NODE) ((NODE)->decl.static_ctor_flag)
|
||||||
|
Loading…
Reference in New Issue
Block a user