Commit e6523306 by Mike Stump Committed by Mike Stump

tree.h: Move documentation for tree_function_decl to tree-core.h with the declaration.

	* tree.h: Move documentation for tree_function_decl to tree-core.h
	with the declaration.

From-SVN: r202289
parent 80a18161
2013-09-05 Mike Stump <mikestump@comcast.net>
* tree.h: Move documentation for tree_function_decl to tree-core.h
with the declaration.
2013-09-05 Peter Bergner <bergner@vnet.ibm.com>
PR target/58139
......
......@@ -1328,6 +1328,11 @@ struct GTY(()) tree_decl_non_common {
tree vindex;
};
/* FUNCTION_DECL inherits from DECL_NON_COMMON because of the use of the
arguments/result/saved_tree fields by front ends. It was either inherit
FUNCTION_DECL from non_common, or inherit non_common from FUNCTION_DECL,
which seemed a bit strange. */
struct GTY(()) tree_function_decl {
struct tree_decl_non_common common;
......
......@@ -2543,11 +2543,6 @@ extern vec<tree, va_gc> **decl_debug_args_insert (tree);
#define DECL_FINAL_P(NODE)\
(FUNCTION_DECL_CHECK (NODE)->decl_with_vis.final)
/* FUNCTION_DECL inherits from DECL_NON_COMMON because of the use of the
arguments/result/saved_tree fields by front ends. It was either inherit
FUNCTION_DECL from non_common, or inherit non_common from FUNCTION_DECL,
which seemed a bit strange. */
/* The source language of the translation-unit. */
#define TRANSLATION_UNIT_LANGUAGE(NODE) \
(TRANSLATION_UNIT_DECL_CHECK (NODE)->translation_unit_decl.language)
......
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