]> git.ipfire.org Git - thirdparty/gcc.git/commit
Convert set_block_for_insn from a macro to an inline function
authorDavid Malcolm <dmalcolm@redhat.com>
Fri, 5 Sep 2014 14:19:35 +0000 (14:19 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Fri, 5 Sep 2014 14:19:35 +0000 (14:19 +0000)
commit345b82befbb91d50a57ed875b8d5b9232ffa0736
tree799808559635f7ac9d1292343c33da8e98893afb
parent86bf2d46b6350e9af1d3a2e6ee75c1080d26b1c5
Convert set_block_for_insn from a macro to an inline function

gcc/ChangeLog:
2014-09-05  David Malcolm  <dmalcolm@redhat.com>

* basic-block.h (set_block_for_insn): Eliminate this macro in
favor of...
* rtl.h (set_block_for_insn): New inline function, imposing the
requirement that the "insn" param is an rtx_insn *.

From-SVN: r214963
gcc/ChangeLog
gcc/basic-block.h
gcc/rtl.h