Convert various INSN accessors in rtl.h to inline functions
authorDavid Malcolm <dmalcolm@redhat.com>
Wed, 27 Aug 2014 19:40:43 +0000 (19:40 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Wed, 27 Aug 2014 19:40:43 +0000 (19:40 +0000)
commitf11723d8cbd8e3f97eb49197aba9a9f5be3a221a
tree4a4d947a3d59c6c66600b895ba10fbb726e347b1
parentbd59c195f646d74e7a8cffb0cdc5aa31c720eb61
Convert various INSN accessors in rtl.h to inline functions

gcc/
2014-08-27  David Malcolm  <dmalcolm@redhat.com>

* rtl.h (INSN_UID): Convert from a macro to a pair of inline
functions.  Require merely an rtx for now, not an rtx_insn *.
(BLOCK_FOR_INSN): Likewise.
(INSN_LOCATION): Likewise.
(INSN_HAS_LOCATION): Convert from a macro to an inline function.

From-SVN: r214586
gcc/ChangeLog
gcc/rtl.h