From 8f2de5f1d65d9da2352dffeb7096c749d1acf01b Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Thu, 26 Feb 2004 23:44:27 +0000 Subject: [PATCH] builtins.c (apply_args_register_offset): Remove. * builtins.c (apply_args_register_offset): Remove. * tree.h: Remove the corresponding prototype. From-SVN: r78533 --- gcc/ChangeLog | 5 +++++ gcc/builtins.c | 14 -------------- gcc/tree.h | 1 - 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 + * builtins.c (apply_args_register_offset): Remove. + * tree.h: Remove the corresponding prototype. + +2004-02-26 Kazu Hirata + * 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); -- 2.7.4