aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2010-06-10 20:21:44 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2010-06-10 20:21:44 +0000
commitc5e88b399c526dbb7ab2bc6b4fdbc0e8100fa3d9 (patch)
treecf86a2e45130a51690d5994f074ff828e9d308ed /gcc/rtl.h
parentd2a3ce4e3374de54b231d98bd78613c8dc18d9a4 (diff)
downloadgcc-c5e88b399c526dbb7ab2bc6b4fdbc0e8100fa3d9.zip
gcc-c5e88b399c526dbb7ab2bc6b4fdbc0e8100fa3d9.tar.gz
gcc-c5e88b399c526dbb7ab2bc6b4fdbc0e8100fa3d9.tar.bz2
read-md.h (read_md_file): Declare.
gcc/ * read-md.h (read_md_file): Declare. (read_char, unread_char): New functions. (fatal_with_file_and_line, fatal_expected_char, read_skip_spaces) (read_quoted_string, read_string): Remove FILE * argument. * read-md.c (read_md_file): New variable. (read_md_filename, read_md_lineno): Update comments and remove unnecessary initialization. (fatal_with_file_and_line, fatal_expected_char, read_skip_spaces) (read_escape, read_quoted_string, read_braced_string, read_string): Remove FILE * argument. Update calls accordingly, using read_char and unread_char instead of getc and ungetc. * rtl.h (read_rtx): Remove FILE * argument. * read-rtl.c (iterator_group): Remove FILE * argument from "find_builtin". (iterator_traverse_data): Remove "infile" field. (find_mode, find_code, apply_mode_maps, apply_iterator_to_rtx) (add_mapping, read_name, read_constants, read_conditions) (validate_const_int, find_iterator, read_mapping, check_code_iterator) (read_rtx, read_rtx_1, read_rtx_variadic): Remove FILE * argument. Remove file arguments from all calls, using read_char and unread_char instead of getc and ungetc. * gensupport.c (process_include): Preserve read_md_file around the include. Set read_md_file to the handle of the included file. Update call to read_rtx. (init_md_reader_args_cb): Set read_md_file to the handle of the file and remove local FILE *. Update calls to read_rtx. From-SVN: r160572
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index be167e5e4..1ed8f73 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -2361,7 +2361,7 @@ extern void traverse_md_constants (int (*) (void **, void *), void *);
struct md_constant { char *name, *value; };
/* In read-rtl.c */
-extern bool read_rtx (FILE *, rtx *, int *);
+extern bool read_rtx (rtx *, int *);
/* In alias.c */
extern rtx canon_rtx (rtx);