diff options
author | David Malcolm <dmalcolm@redhat.com> | 2014-08-19 14:47:55 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2014-08-19 14:47:55 +0000 |
commit | 6306c300db20a6857e509a440321ec6a33230314 (patch) | |
tree | 589ac48e7d95e2fa8ff1134994862a12df1b34c4 /gcc/cse.c | |
parent | c77935ee29336399ab6318e912baa174e243654a (diff) | |
download | gcc-6306c300db20a6857e509a440321ec6a33230314.zip gcc-6306c300db20a6857e509a440321ec6a33230314.tar.gz gcc-6306c300db20a6857e509a440321ec6a33230314.tar.bz2 |
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.
From-SVN: r214152
Diffstat (limited to 'gcc/cse.c')
0 files changed, 0 insertions, 0 deletions