r214118 - in /trunk/gcc: ChangeLog coretypes.h ...
dmalcolm@gcc.gnu.org
dmalcolm@gcc.gnu.org
Mon Aug 18 20:02:00 GMT 2014
Author: dmalcolm
Date: Mon Aug 18 20:02:17 2014
New Revision: 214118
URL: https://gcc.gnu.org/viewcvs?rev=214118&root=gcc&view=rev
Log:
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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/coretypes.h
trunk/gcc/rtl.h
More information about the Gcc-cvs
mailing list