diff options
author | Steven Bosscher <steven@gcc.gnu.org> | 2010-05-23 15:40:15 +0000 |
---|---|---|
committer | Steven Bosscher <steven@gcc.gnu.org> | 2010-05-23 15:40:15 +0000 |
commit | 2d1a4cc1dc7d0786f9e60d7333594d0aa3d4fb98 (patch) | |
tree | be8721f4ded7d9fccb6ff073eec425f223a971e2 /gcc/function.h | |
parent | 5767217f7a8fccf90d601b652dd80793763ee6d2 (diff) | |
download | gcc-2d1a4cc1dc7d0786f9e60d7333594d0aa3d4fb98.zip gcc-2d1a4cc1dc7d0786f9e60d7333594d0aa3d4fb98.tar.gz gcc-2d1a4cc1dc7d0786f9e60d7333594d0aa3d4fb98.tar.bz2 |
regs.h: Do not include obstack.h, basic-block.h.
* 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.
From-SVN: r159761
Diffstat (limited to 'gcc/function.h')
-rw-r--r-- | gcc/function.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/function.h b/gcc/function.h index 9063e52..6e15092 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 */ |