r214152 - in /trunk/gcc: ChangeLog rtl.h
dmalcolm@gcc.gnu.org
dmalcolm@gcc.gnu.org
Tue Aug 19 14:47:00 GMT 2014
Author: dmalcolm
Date: Tue Aug 19 14:47:55 2014
New Revision: 214152
URL: https://gcc.gnu.org/viewcvs?rev=214152&root=gcc&view=rev
Log:
Replace PREV_INSN et al macros with functions
gcc/
2014-08-19 David Malcolm <dmalcolm@redhat.com>
* rtl.h (PREV_INSN): Convert to an inline function. Strengthen
the return type from rtx to rtx_insn *, which will enable various
conversions in followup patches. For now this is is done by a
checked cast.
(NEXT_INSN): Likewise.
(SET_PREV_INSN): Convert to an inline function. This is intended
for use as an lvalue, and so returns an rtx& to allow in-place
modification.
(SET_NEXT_INSN): Likewise.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/rtl.h
More information about the Gcc-cvs
mailing list