diff options
author | David Malcolm <dmalcolm@redhat.com> | 2014-08-19 00:26:56 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2014-08-19 00:26:56 +0000 |
commit | ef0fe503088eaf82df1665f7e32b090c5f3b5374 (patch) | |
tree | b36c1adf97283d550b96e06e464780e67b445c90 /libcpp/charset.c | |
parent | a140b66ba7419e17673cc2bbd5facb8c846f0b0c (diff) | |
download | gcc-ef0fe503088eaf82df1665f7e32b090c5f3b5374.zip gcc-ef0fe503088eaf82df1665f7e32b090c5f3b5374.tar.gz gcc-ef0fe503088eaf82df1665f7e32b090c5f3b5374.tar.bz2 |
Replace BB_HEAD et al macros with functions
gcc/
2014-08-19 David Malcolm <dmalcolm@redhat.com>
* basic-block.h (BB_HEAD): Convert to a function. Strengthen the
return type from rtx to rtx_insn *.
(BB_END): Likewise.
(BB_HEADER): Likewise.
(BB_FOOTER): Likewise.
(SET_BB_HEAD): Convert to a function.
(SET_BB_END): Likewise.
(SET_BB_HEADER): Likewise.
(SET_BB_FOOTER): Likewise.
* cfgrtl.c (BB_HEAD): New function, from macro of same name.
Strengthen the return type from rtx to rtx_insn *. For now, this
is done by adding a checked cast, but this will eventually
become a field lookup.
(BB_END): Likewise.
(BB_HEADER): Likewise.
(BB_FOOTER): Likewise.
(SET_BB_HEAD): New function, from macro of same name. This is
intended for use as an lvalue, and so returns an rtx& to allow
in-place modification.
(SET_BB_END): Likewise.
(SET_BB_HEADER): Likewise.
(SET_BB_FOOTER): Likewise.
From-SVN: r214126
Diffstat (limited to 'libcpp/charset.c')
0 files changed, 0 insertions, 0 deletions