]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
builtins.c (apply_args_register_offset): Remove.
authorKazu Hirata <kazu@cs.umass.edu>
Thu, 26 Feb 2004 23:44:27 +0000 (23:44 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Thu, 26 Feb 2004 23:44:27 +0000 (23:44 +0000)
* builtins.c (apply_args_register_offset): Remove.
* tree.h: Remove the corresponding prototype.

From-SVN: r78533

gcc/ChangeLog
gcc/builtins.c
gcc/tree.h

index aba02a706cd826121f9b7e01bb8afc60880db7e0..2560224e3d7fa614c46ed2c0c011f8f0939ab70c 100644 (file)
@@ -1,3 +1,8 @@
+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.
index 895c83527d2e17b18005e7098cec4acd89dbefa2..aa8b090f357db5050615d4e40bd8294b800420af 100644 (file)
@@ -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.  */
 
index 08f14d5da922962847367f87af7593d25c62755e..916ea6534c398061bb361acea895901f817971c8 100644 (file)
@@ -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);