This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Remove get_first_nonparm_insn


This function is unused.


r~


        * function.c, rtl.h (get_first_nonparm_insn): Remove.

Index: function.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/function.c,v
retrieving revision 1.531
diff -c -p -d -r1.531 function.c
*** function.c	30 Jun 2004 18:05:04 -0000	1.531
--- function.c	30 Jun 2004 22:29:36 -0000
*************** instantiate_virtual_regs_1 (rtx *loc, rt
*** 4211,4226 ****
    return 1;
  }
  
- /* Return the first insn following those generated by `assign_parms'.  */
- 
- rtx
- get_first_nonparm_insn (void)
- {
-   if (last_parm_insn)
-     return NEXT_INSN (last_parm_insn);
-   return get_insns ();
- }
- 
  /* Return 1 if EXP is an aggregate type (or a value with aggregate type).
     This means a type for which function calls must pass an address to the
     function or get an address back from the function.
--- 4211,4216 ----
Index: rtl.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/rtl.h,v
retrieving revision 1.482
diff -c -p -d -r1.482 rtl.h
*** rtl.h	30 Jun 2004 17:58:20 -0000	1.482
--- rtl.h	30 Jun 2004 22:29:36 -0000
*************** extern const char *decode_asm_operands (
*** 1926,1933 ****
  extern enum reg_class reg_preferred_class (int);
  extern enum reg_class reg_alternate_class (int);
  
- extern rtx get_first_nonparm_insn (void);
- 
  extern void split_all_insns (int);
  extern void split_all_insns_noflow (void);
  
--- 1926,1931 ----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]