summaryrefslogtreecommitdiff
path: root/gcc/function.h
diff options
context:
space:
mode:
authorsteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>2010-05-23 15:40:15 +0000
committersteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>2010-05-23 15:40:15 +0000
commita79e752360d02b4d5cc3989801535727e4e82644 (patch)
treebe8721f4ded7d9fccb6ff073eec425f223a971e2 /gcc/function.h
parentc335b5feeb574fa90f128db8259591419ce34d4a (diff)
downloadgcc-a79e752360d02b4d5cc3989801535727e4e82644.tar.gz
* 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: svn+ssh://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 */