]> git.ipfire.org Git - thirdparty/gcc.git/commit
Convert set_block_for_insn from a macro to an inline function
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Sep 2014 14:19:35 +0000 (14:19 +0000)
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Sep 2014 14:19:35 +0000 (14:19 +0000)
commit50876c20b0eda33ced2d6c8163232f597a767742
tree799808559635f7ac9d1292343c33da8e98893afb
parenta5412d60c609db239430746e571acd32cd3a0ef1
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 *.

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