From: Kazu Hirata Date: Thu, 26 Feb 2004 23:44:27 +0000 (+0000) Subject: builtins.c (apply_args_register_offset): Remove. X-Git-Tag: releases/gcc-4.0.0~9813 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f2de5f1d65d9da2352dffeb7096c749d1acf01b;p=thirdparty%2Fgcc.git builtins.c (apply_args_register_offset): Remove. * builtins.c (apply_args_register_offset): Remove. * tree.h: Remove the corresponding prototype. From-SVN: r78533 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index aba02a706cd8..2560224e3d7f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +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. diff --git a/gcc/builtins.c b/gcc/builtins.c index 895c83527d2e..aa8b090f357d 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 08f14d5da922..916ea6534c39 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);