aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraph.h
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2003-07-02 02:14:44 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2003-07-02 00:14:44 +0000
commitf6981e16c3c4e9e009e3b34d185f2be15c76171c (patch)
tree4d97ef1059d4e3e31ef7dfafa8353a8924c2bf2f /gcc/cgraph.h
parentd1c608553b0f6cec5ddc3e83c0198fa37ab9fe25 (diff)
downloadgcc-f6981e16c3c4e9e009e3b34d185f2be15c76171c.zip
gcc-f6981e16c3c4e9e009e3b34d185f2be15c76171c.tar.gz
gcc-f6981e16c3c4e9e009e3b34d185f2be15c76171c.tar.bz2
cgraphunit.c (cgraph_finalize_function): Set finalized.
* cgraphunit.c (cgraph_finalize_function): Set finalized. (cgraph_finalize_function): Do not examine inlinablility. (cgraph_finalize_compilation_unit): Do it here. * cgraph.h (cgraph_local_info): Add finalized field. From-SVN: r68803
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r--gcc/cgraph.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h
index 91f99bf..bbf1c28 100644
--- a/gcc/cgraph.h
+++ b/gcc/cgraph.h
@@ -35,6 +35,8 @@ struct cgraph_local_info GTY(())
/* Set when function can be inlined once (false only for functions calling
alloca, using varargs and so on). */
bool can_inline_once;
+ /* Set once it has been finalized so we consider it to be output. */
+ bool finalized;
};
/* Information about the function that needs to be computed globally