diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-06-10 20:21:35 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-06-10 20:21:35 +0000 |
commit | 77c2564f74400dabf79543b2a87a254532ed7a53 (patch) | |
tree | 43c04315a7c8d22053182e57daa6df240867adeb /gcc/read-rtl.c | |
parent | 960ebfe702d97f43ba95d96859528624bc81069e (diff) | |
download | gcc-77c2564f74400dabf79543b2a87a254532ed7a53.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160571 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/read-rtl.c')
-rw-r--r-- | gcc/read-rtl.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/read-rtl.c b/gcc/read-rtl.c index be7cbad6f3c..50bb5f1bf3c 100644 --- a/gcc/read-rtl.c +++ b/gcc/read-rtl.c @@ -319,7 +319,7 @@ apply_iterator_to_string (const char *string, struct mapping *iterator, int valu { obstack_grow (&string_obstack, base, strlen (base) + 1); copy = XOBFINISH (&string_obstack, char *); - copy_rtx_ptr_loc (copy, string); + copy_md_ptr_loc (copy, string); return copy; } return string; @@ -647,7 +647,7 @@ read_name (char *str, FILE *infile) if (p == str) fatal_with_file_and_line (infile, "missing name or number"); if (c == '\n') - read_rtx_lineno++; + read_md_lineno++; *p = 0; @@ -999,7 +999,7 @@ read_rtx (FILE *infile, rtx *x, int *lineno) return false; ungetc (c, infile); - queue_lineno = read_rtx_lineno; + queue_lineno = read_md_lineno; mode_maps = 0; from_file = read_rtx_1 (infile, &mode_maps); if (from_file == 0) @@ -1229,14 +1229,14 @@ read_rtx_1 (FILE *infile, struct map_value **mode_maps) || GET_CODE (return_rtx) == DEFINE_INSN_AND_SPLIT)) { char line_name[20]; - const char *fn = (read_rtx_filename ? read_rtx_filename : "rtx"); + const char *fn = (read_md_filename ? read_md_filename : "rtx"); const char *slash; for (slash = fn; *slash; slash ++) if (*slash == '/' || *slash == '\\' || *slash == ':') fn = slash + 1; obstack_1grow (&string_obstack, '*'); obstack_grow (&string_obstack, fn, strlen (fn)); - sprintf (line_name, ":%d", read_rtx_lineno); + sprintf (line_name, ":%d", read_md_lineno); obstack_grow (&string_obstack, line_name, strlen (line_name)+1); stringbuf = XOBFINISH (&string_obstack, char *); } |