aboutsummaryrefslogtreecommitdiff
path: root/gcc/genemit.c
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2010-06-10 20:21:35 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2010-06-10 20:21:35 +0000
commitd2a3ce4e3374de54b231d98bd78613c8dc18d9a4 (patch)
tree43c04315a7c8d22053182e57daa6df240867adeb /gcc/genemit.c
parent1069247787d6d8c1093b3f9a8ab62c95d1a8501c (diff)
downloadgcc-d2a3ce4e3374de54b231d98bd78613c8dc18d9a4.zip
gcc-d2a3ce4e3374de54b231d98bd78613c8dc18d9a4.tar.gz
gcc-d2a3ce4e3374de54b231d98bd78613c8dc18d9a4.tar.bz2
read-md.h (read_rtx_lineno): Rename to...
gcc/ * read-md.h (read_rtx_lineno): Rename to... (read_md_lineno): ...this. (read_rtx_filename): Rename to... (read_md_filename): ...this. (copy_rtx_ptr_loc): Rename to... (copy_md_ptr_loc): ...this. (print_rtx_ptr_loc): Rename to... (print_md_ptr_loc): ...this. * read-md.c: Likewise. Update references after renaming. (string_obstack): Replace RTL with MD in comment. (set_rtx_ptr_loc): Rename to... (set_md_ptr_loc): ...this. (get_rtx_ptr_loc): Rename to... (get_md_ptr_loc): ...this. * genconditions.c: Update references after renaming. * genemit.c: Likewise. * genoutput.c: Likewise. * genpreds.c: Likewise. * gensupport.c: Likewise. * read-rtl.c: Likewise. From-SVN: r160571
Diffstat (limited to 'gcc/genemit.c')
-rw-r--r--gcc/genemit.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/genemit.c b/gcc/genemit.c
index e0e4836..69a3a7d 100644
--- a/gcc/genemit.c
+++ b/gcc/genemit.c
@@ -399,7 +399,7 @@ gen_insn (rtx insn, int lineno)
if (XSTR (insn, 0)[0] == 0 || XSTR (insn, 0)[0] == '*')
return;
- printf ("/* %s:%d */\n", read_rtx_filename, lineno);
+ printf ("/* %s:%d */\n", read_md_filename, lineno);
/* Find out how many operands this function has. */
operands = max_operand_vec (insn, 1);
@@ -514,7 +514,7 @@ gen_expand (rtx expand)
/* Output the special code to be executed before the sequence
is generated. */
- print_rtx_ptr_loc (XSTR (expand, 3));
+ print_md_ptr_loc (XSTR (expand, 3));
printf ("%s\n", XSTR (expand, 3));
/* Output code to copy the arguments back out of `operands'
@@ -643,7 +643,7 @@ gen_split (rtx split)
if (XSTR (split, 3))
{
- print_rtx_ptr_loc (XSTR (split, 3));
+ print_md_ptr_loc (XSTR (split, 3));
printf ("%s\n", XSTR (split, 3));
}
@@ -888,17 +888,17 @@ from the machine description file `md'. */\n\n");
break;
case DEFINE_EXPAND:
- printf ("/* %s:%d */\n", read_rtx_filename, line_no);
+ printf ("/* %s:%d */\n", read_md_filename, line_no);
gen_expand (desc);
break;
case DEFINE_SPLIT:
- printf ("/* %s:%d */\n", read_rtx_filename, line_no);
+ printf ("/* %s:%d */\n", read_md_filename, line_no);
gen_split (desc);
break;
case DEFINE_PEEPHOLE2:
- printf ("/* %s:%d */\n", read_rtx_filename, line_no);
+ printf ("/* %s:%d */\n", read_md_filename, line_no);
gen_split (desc);
break;