aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-02-26 23:44:27 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-02-26 23:44:27 +0000
commit8f2de5f1d65d9da2352dffeb7096c749d1acf01b (patch)
tree4f6b1b33c8a7ce83171a0720ea3e7b199adca6ae
parentc79249370ba344a75b68b5cb9de83559602ca210 (diff)
downloadgcc-8f2de5f1d65d9da2352dffeb7096c749d1acf01b.zip
gcc-8f2de5f1d65d9da2352dffeb7096c749d1acf01b.tar.gz
gcc-8f2de5f1d65d9da2352dffeb7096c749d1acf01b.tar.bz2
builtins.c (apply_args_register_offset): Remove.
* builtins.c (apply_args_register_offset): Remove. * tree.h: Remove the corresponding prototype. From-SVN: r78533
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/builtins.c14
-rw-r--r--gcc/tree.h1
3 files changed, 5 insertions, 15 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index aba02a7..2560224 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2004-02-26 Kazu Hirata <kazu@cs.umass.edu>
+ * builtins.c (apply_args_register_offset): Remove.
+ * tree.h: Remove the corresponding prototype.
+
+2004-02-26 Kazu Hirata <kazu@cs.umass.edu>
+
* stor-layout.c (is_pending_size): Remove.
* tree.h: Remove the corresponding prototype.
diff --git a/gcc/builtins.c b/gcc/builtins.c
index 895c835..aa8b090 100644
--- a/gcc/builtins.c
+++ b/gcc/builtins.c
@@ -883,20 +883,6 @@ static enum machine_mode apply_result_mode[FIRST_PSEUDO_REGISTER];
used for calling a function. */
static int apply_args_reg_offset[FIRST_PSEUDO_REGISTER];
-/* Return the offset of register REGNO into the block returned by
- __builtin_apply_args. This is not declared static, since it is
- needed in objc-act.c. */
-
-int
-apply_args_register_offset (int regno)
-{
- apply_args_size ();
-
- /* Arguments are always put in outgoing registers (in the argument
- block) if such make sense. */
- return apply_args_reg_offset[OUTGOING_REGNO (regno)];
-}
-
/* Return the size required for the block returned by __builtin_apply_args,
and initialize apply_args_mode. */
diff --git a/gcc/tree.h b/gcc/tree.h
index 08f14d5..916ea65 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -2930,7 +2930,6 @@ extern void indent_to (FILE *, int);
#endif
/* In expr.c */
-extern int apply_args_register_offset (int);
extern rtx expand_builtin_return_addr (enum built_in_function, int, rtx);
extern void check_max_integer_computation_mode (tree);