diff options
author | David Malcolm <dmalcolm@redhat.com> | 2018-01-25 19:19:29 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2018-01-25 19:19:29 +0000 |
commit | 9aba6f77b481d555ea7c3d24911011be013dbc0b (patch) | |
tree | 4f399fbbdabbf0782887a8fa8636dac4d0bef58d /gcc/jit | |
parent | 7fb43006b28405ebf5309223e9d769b74008003e (diff) | |
download | gcc-9aba6f77b481d555ea7c3d24911011be013dbc0b.zip gcc-9aba6f77b481d555ea7c3d24911011be013dbc0b.tar.gz gcc-9aba6f77b481d555ea7c3d24911011be013dbc0b.tar.bz2 |
jit: remove some unused fields from recording::union_ (PR jit/81672)
gcc::jit::recording::union_ has some stray fields, which
are duplicates of those in the compound_type base class.
It looks like these have been present since the initial merger of the jit
branch to trunk (r217374), where it had three duplicate fields:
location *m_loc;
string *m_name;
fields *m_fields;
I removed the duplicate field "m_fields" in r219564 but missed the other
two.
This patch removes them.
gcc/jit/ChangeLog:
PR jit/81672
* jit-recording.h (gcc::jit::recording::union_): Remove fields
"m_loc" and "m_name".
From-SVN: r257066
Diffstat (limited to 'gcc/jit')
-rw-r--r-- | gcc/jit/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/jit/jit-recording.h | 4 |
2 files changed, 6 insertions, 4 deletions
diff --git a/gcc/jit/ChangeLog b/gcc/jit/ChangeLog index 2e12ce9..8bb0002 100644 --- a/gcc/jit/ChangeLog +++ b/gcc/jit/ChangeLog @@ -1,3 +1,9 @@ +2018-01-25 David Malcolm <dmalcolm@redhat.com> + + PR jit/81672 + * jit-recording.h (gcc::jit::recording::union_): Remove fields + "m_loc" and "m_name". + 2018-01-03 Jakub Jelinek <jakub@redhat.com> Update copyright years. diff --git a/gcc/jit/jit-recording.h b/gcc/jit/jit-recording.h index e7feceb..b1d5982 100644 --- a/gcc/jit/jit-recording.h +++ b/gcc/jit/jit-recording.h @@ -932,10 +932,6 @@ public: private: string * make_debug_string () FINAL OVERRIDE; void write_reproducer (reproducer &r) FINAL OVERRIDE; - -private: - location *m_loc; - string *m_name; }; /* An abstract base class for operations that visit all rvalues within an |