diff options
author | David Malcolm <dmalcolm@redhat.com> | 2014-08-18 20:02:17 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2014-08-18 20:02:17 +0000 |
commit | 15f8d3ab4a4f0e893b9080477091425fda92d187 (patch) | |
tree | 405b41edecb80a913b53d51834002c78bfc5aa09 /gcc/reg-stack.c | |
parent | 26b3538ba2d537d820c45a02c11ae830093410c0 (diff) | |
download | gcc-15f8d3ab4a4f0e893b9080477091425fda92d187.zip gcc-15f8d3ab4a4f0e893b9080477091425fda92d187.tar.gz gcc-15f8d3ab4a4f0e893b9080477091425fda92d187.tar.bz2 |
Introduce rtx_insn subclass of rtx_def
gcc/
2014-08-18 David Malcolm <dmalcolm@redhat.com>
* coretypes.h (class rtx_insn): Add forward declaration.
* rtl.h: Include is-a.h.
(struct rtx_def): Add dummy "desc" and "tag" GTY options as a
workaround to ensure gengtype knows inheritance is occurring,
whilst continuing to use the pre-existing special-casing for
rtx_def.
(class rtx_insn): New subclass of rtx_def, adding the
invariant that we're dealing with something we can sanely use
INSN_UID, NEXT_INSN, PREV_INSN on.
(is_a_helper <rtx_insn *>::test): New.
(is_a_helper <const rtx_insn *>::test): New.
From-SVN: r214118
Diffstat (limited to 'gcc/reg-stack.c')
0 files changed, 0 insertions, 0 deletions