aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.h
diff options
context:
space:
mode:
authorSteven Bosscher <steven@gcc.gnu.org>2010-05-23 15:40:15 +0000
committerSteven Bosscher <steven@gcc.gnu.org>2010-05-23 15:40:15 +0000
commitc9a4e536725b11fcb6fb0488005715756a8085fa (patch)
treebe8721f4ded7d9fccb6ff073eec425f223a971e2 /gcc/function.h
parent8af2718a13823e3ffaedebe97431d74a8142ad73 (diff)
* regs.h: Do not include obstack.h, basic-block.h.
Include machmode.h. * jump.c: Include basic-block.h. * profile.c: Likewise. * tree-profile.c: Likewise. * coverage.c: Likewise. * basic-block.h (optimize_function_for_size_p): Move to function.h. (optimize_function_for_speed_p): Likewise. * function.h (optimize_function_for_size_p, optimize_function_for_speed_p): Moved here from basic-block.h. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@159761 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/function.h')
-rw-r--r--gcc/function.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/function.h b/gcc/function.h
index 9063e52558c..6e150921f78 100644
--- a/gcc/function.h
+++ b/gcc/function.h
@@ -703,4 +703,9 @@ extern bool reference_callee_copied (CUMULATIVE_ARGS *, enum machine_mode,
extern void used_types_insert (tree);
extern int get_next_funcdef_no (void);
+
+/* In predict.c */
+extern bool optimize_function_for_size_p (struct function *);
+extern bool optimize_function_for_speed_p (struct function *);
+
#endif /* GCC_FUNCTION_H */