This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH: Replace regclass.c with reginfo.c in comments
- From: "H.J. Lu" <hongjiu dot lu at intel dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 12 Feb 2009 10:31:57 -0800
- Subject: PATCH: Replace regclass.c with reginfo.c in comments
- Reply-to: "H.J. Lu" <hjl dot tools at gmail dot com>
Hi,
I am checking in this patch as an obvious fix.
Thanks.
H.J.
---
Index: ChangeLog
===================================================================
--- ChangeLog (revision 144134)
+++ ChangeLog (working copy)
@@ -1,3 +1,9 @@
+2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
+
+ * caller-save.c: Replace regclass.c with reginfo.c in comments.
+ * recog.c: Likewise.
+ * rtl.h: Likewise.
+
2009-02-12 Uros Bizjak <ubizjak@gmail.com>
* longlong.h (sub_ddmmss): New for ia64. Ported from GMP 4.2.
Index: caller-save.c
===================================================================
--- caller-save.c (revision 144134)
+++ caller-save.c (working copy)
@@ -188,7 +188,7 @@ reg_restore_code (int reg, enum machine_
/* Initialize for caller-save.
Look at all the hard registers that are used by a call and for which
- regclass.c has not already excluded from being used across a call.
+ reginfo.c has not already excluded from being used across a call.
Ensure that we can find a mode to save the register and that there is a
simple insn to save and restore the register. This latter check avoids
Index: recog.c
===================================================================
--- recog.c (revision 144134)
+++ recog.c (working copy)
@@ -77,7 +77,7 @@ static rtx split_insn (rtx);
This should be 0 if you are generating rtl, such as if you are calling
the functions in optabs.c and expmed.c (most of the time).
This should be 1 if all valid insns need to be recognized,
- such as in regclass.c and final.c and reload.c.
+ such as in reginfo.c and final.c and reload.c.
init_recog and init_recog_no_volatile are responsible for setting this. */
Index: rtl.h
===================================================================
--- rtl.h (revision 144134)
+++ rtl.h (working copy)
@@ -1696,7 +1696,7 @@ extern rtx simplify_rtx (const_rtx);
extern rtx avoid_constant_pool_reference (rtx);
extern bool mode_signbit_p (enum machine_mode, const_rtx);
-/* In regclass.c */
+/* In reginfo.c */
extern enum machine_mode choose_hard_reg_mode (unsigned int, unsigned int,
bool);
@@ -1820,7 +1820,7 @@ extern rtx remove_free_INSN_LIST_node (r
extern rtx remove_free_EXPR_LIST_node (rtx *);
-/* regclass.c */
+/* reginfo.c */
/* Initialize may_move_cost and friends for mode M. */
extern void init_move_cost (enum machine_mode);
@@ -2217,7 +2217,7 @@ extern HARD_REG_SET eliminable_regset;
#endif
extern void mark_elimination (int, int);
-/* In regclass.c */
+/* In reginfo.c */
extern int reg_classes_intersect_p (enum reg_class, enum reg_class);
extern int reg_class_subset_p (enum reg_class, enum reg_class);
extern void globalize_reg (int);