diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2019-07-16 08:41:13 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2019-07-16 08:41:13 +0000 |
commit | 737eb76789cd454918a85983255a1f62efcbfdc9 (patch) | |
tree | 773f9d2b59bf22303b127b0ea01775a5f7e4e344 /gcc/read-rtl.c | |
parent | f6e5e4b83b153d056b93048fd23b4afebcd49bcf (diff) | |
download | gcc-737eb76789cd454918a85983255a1f62efcbfdc9.zip gcc-737eb76789cd454918a85983255a1f62efcbfdc9.tar.gz gcc-737eb76789cd454918a85983255a1f62efcbfdc9.tar.bz2 |
Use file_location for md_reader's ptr_loc
Also make it public, so that clients can use the location for error
reporting.
2019-07-16 Richard Sandiford <richard.sandiford@arm.com>
gcc/
* read-md.h (md_reader::ptr_loc): Moved from read-md.c.
Use file_location instead of separate fields.
(md_reader::set_md_ptr_loc): Take a file_location instead of a
separate filename and line number.
* read-md.c (ptr_loc): As above.
(md_reader::copy_md_ptr_loc): Update for new ptr_loc layout.
(md_reader::fprint_md_ptr_loc): Likewise.
(md_reader::set_md_ptr_loc): Likewise. Take a file_location
instead of a separate filename and line number.
(md_reader::read_string): Update call accordingly.
From-SVN: r273510
Diffstat (limited to 'gcc/read-rtl.c')
0 files changed, 0 insertions, 0 deletions