summaryrefslogtreecommitdiff
path: root/gcc/config/sh/sh-protos.h
diff options
context:
space:
mode:
authoraesok <aesok@138bc75d-0d04-0410-961f-82ee72b054a4>2009-11-30 21:38:46 +0000
committeraesok <aesok@138bc75d-0d04-0410-961f-82ee72b054a4>2009-11-30 21:38:46 +0000
commit5cb06fbbebd8155782baf71fdb146fda920f9a95 (patch)
treedf34bc368011bb905fd3aa7aa99e7bc62cf10268 /gcc/config/sh/sh-protos.h
parent0735af8d71db1517f14d80a184c9edb92b301c17 (diff)
downloadgcc-5cb06fbbebd8155782baf71fdb146fda920f9a95.tar.gz
* config/sh/sh.c (sh_promote_prototypes): Make static.
(sh_function_value, sh_libcall_value, sh_function_value_regno_p): New functions. (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE): Declare. * config/sh/sh.h: (FUNCTION_VALUE_REGNO_P): Redefine, use sh_function_value_regno_p. (FUNCTION_VALUE, LIBCALL_VALUE): Remove. * config/sh/sh-protos.h (sh_function_value_regno_p): Declare. (sh_promote_prototypes) : Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154842 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/sh/sh-protos.h')
-rw-r--r--gcc/config/sh/sh-protos.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/sh/sh-protos.h b/gcc/config/sh/sh-protos.h
index 8157221c0c6..7335efcd0a1 100644
--- a/gcc/config/sh/sh-protos.h
+++ b/gcc/config/sh/sh-protos.h
@@ -163,7 +163,7 @@ extern rtx sh_function_arg (CUMULATIVE_ARGS *, enum machine_mode, tree, int);
extern void sh_function_arg_advance (CUMULATIVE_ARGS *, enum machine_mode, tree, int);
extern int sh_pass_in_reg_p (CUMULATIVE_ARGS *, enum machine_mode, tree);
extern void sh_init_cumulative_args (CUMULATIVE_ARGS *, tree, rtx, tree, signed int, enum machine_mode);
-extern bool sh_promote_prototypes (const_tree);
+extern bool sh_function_value_regno_p (const unsigned int);
extern rtx sh_dwarf_register_span (rtx);
extern rtx replace_n_hard_rtx (rtx, rtx *, int , int);