aboutsummaryrefslogtreecommitdiff
path: root/gcc/basic-block.h
diff options
context:
space:
mode:
authorSteven Bosscher <steven@gcc.gnu.org>2010-01-03 13:13:03 +0000
committerSteven Bosscher <steven@gcc.gnu.org>2010-01-03 13:13:03 +0000
commitb0de17ef396499ebc675c7c902927984625c1752 (patch)
tree637750849d7de92afc2bfea49d5fe684aeb3e776 /gcc/basic-block.h
parenta8685e159ea52ae6507622f2a81e73f00ace490f (diff)
downloadgcc-b0de17ef396499ebc675c7c902927984625c1752.zip
gcc-b0de17ef396499ebc675c7c902927984625c1752.tar.gz
gcc-b0de17ef396499ebc675c7c902927984625c1752.tar.bz2
postreload-gcse.c (insert_expr_in_table): Replace BLOCK_NUM with BLOCK_FOR_INSN.
* postreload-gcse.c (insert_expr_in_table): Replace BLOCK_NUM with BLOCK_FOR_INSN. * auto-inc-dec.c (attempt_change, get_next_ref, find_inc): Likewise. * ifcvt.c (noce_get_alt_condition, noce_try_abs, noce_process_if_block): Likewise. * gcse.c (compute_local_properties, insert_expr_in_table, insert_set_in_table, canon_list_insert, find_avail_set, pre_insert_copy_insn): Likewise. * basic-block.h (BLOCK_NUM): Move from here... * sched-int.h (BLOCK_NUM): ... to here to localize it in the scheduler. From-SVN: r155586
Diffstat (limited to 'gcc/basic-block.h')
-rw-r--r--gcc/basic-block.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/basic-block.h b/gcc/basic-block.h
index 3d9b672..8915611 100644
--- a/gcc/basic-block.h
+++ b/gcc/basic-block.h
@@ -499,8 +499,6 @@ extern bitmap_obstack reg_obstack;
/* The two blocks that are always in the cfg. */
#define NUM_FIXED_BLOCKS (2)
-
-#define BLOCK_NUM(INSN) (BLOCK_FOR_INSN (INSN)->index + 0)
#define set_block_for_insn(INSN, BB) (BLOCK_FOR_INSN (INSN) = BB)
extern void compute_bb_for_insn (void);