aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/spu/spu-protos.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2009-09-22 08:16:10 -0700
committerRichard Henderson <rth@gcc.gnu.org>2009-09-22 08:16:10 -0700
commita85b4c91b30eda2893ecf5efeeda4f9dbb518763 (patch)
tree948b3badef5ddaf8773b6791f1b07e4c706fcd76 /gcc/config/spu/spu-protos.h
parent809e78cc9049087eff6602114512b3f746834c8d (diff)
downloadgcc-a85b4c91b30eda2893ecf5efeeda4f9dbb518763.zip
gcc-a85b4c91b30eda2893ecf5efeeda4f9dbb518763.tar.gz
gcc-a85b4c91b30eda2893ecf5efeeda4f9dbb518763.tar.bz2
spu.c (TARGET_TRAMPOLINE_INIT): New.
* config/spu/spu.c (TARGET_TRAMPOLINE_INIT): New. (array_to_constant): Make ARR parameter const. (spu_trampoline_init): Rename from spu_initialize_trampoline; make static; update for hook parameters. * config/spu/spu-protos.h: Update decls. * config/spu/spu.h (INITIALIZE_TRAMPOLINE): Remove. From-SVN: r152013
Diffstat (limited to 'gcc/config/spu/spu-protos.h')
-rw-r--r--gcc/config/spu/spu-protos.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/config/spu/spu-protos.h b/gcc/config/spu/spu-protos.h
index 65cdd07..a1f5d13 100644
--- a/gcc/config/spu/spu-protos.h
+++ b/gcc/config/spu/spu-protos.h
@@ -70,7 +70,7 @@ extern int cpat_const_p (rtx x, enum machine_mode mode);
extern rtx gen_cpat_const (rtx * ops);
extern void constant_to_array (enum machine_mode mode, rtx x,
unsigned char *arr);
-extern rtx array_to_constant (enum machine_mode mode, unsigned char *arr);
+extern rtx array_to_constant (enum machine_mode mode, const unsigned char *arr);
extern rtx spu_gen_exp2 (enum machine_mode mode, rtx x);
extern void spu_allocate_stack (rtx op0, rtx op1);
extern void spu_restore_stack_nonlocal (rtx op0, rtx op1);
@@ -81,7 +81,6 @@ extern void spu_builtin_splats (rtx ops[]);
extern void spu_builtin_extract (rtx ops[]);
extern void spu_builtin_insert (rtx ops[]);
extern void spu_builtin_promote (rtx ops[]);
-extern void spu_initialize_trampoline (rtx tramp, rtx fnaddr, rtx cxt);
extern void spu_expand_sign_extend (rtx ops[]);
extern void spu_expand_vector_init (rtx target, rtx vals);
extern void spu_init_expanders (void);