Convert various INSN accessors in rtl.h to inline functions
commitf70c1788f42941f0c414c42a599a83730363e018
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 Aug 2014 19:40:43 +0000 (27 19:40 +0000)
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 Aug 2014 19:40:43 +0000 (27 19:40 +0000)
tree4a4d947a3d59c6c66600b895ba10fbb726e347b1
parent80ff69443560f4db8cc1f79927c254d7274341b2
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214586 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/rtl.h