diff options
author | David Malcolm <dmalcolm@redhat.com> | 2014-09-05 14:19:35 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2014-09-05 14:19:35 +0000 |
commit | 345b82befbb91d50a57ed875b8d5b9232ffa0736 (patch) | |
tree | 799808559635f7ac9d1292343c33da8e98893afb /gcc/basic-block.h | |
parent | 86bf2d46b6350e9af1d3a2e6ee75c1080d26b1c5 (diff) | |
download | gcc-345b82befbb91d50a57ed875b8d5b9232ffa0736.tar.gz |
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
Diffstat (limited to 'gcc/basic-block.h')
-rw-r--r-- | gcc/basic-block.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/basic-block.h b/gcc/basic-block.h index dd727c2776f..fb1c498bb5d 100644 --- a/gcc/basic-block.h +++ b/gcc/basic-block.h @@ -385,8 +385,6 @@ struct GTY(()) control_flow_graph { /* The two blocks that are always in the cfg. */ #define NUM_FIXED_BLOCKS (2) -#define set_block_for_insn(INSN, BB) (BLOCK_FOR_INSN (INSN) = BB) - extern void compute_bb_for_insn (void); extern unsigned int free_bb_for_insn (void); extern void update_bb_for_insn (basic_block); |