From f64d2ca41cef1e4a297beb231863bd8bb53d37a7 Mon Sep 17 00:00:00 2001 From: dmalcolm Date: Mon, 9 Dec 2013 20:02:33 +0000 Subject: Eliminate SET_BASIC_BLOCK macro. gcc/ * basic-block.h (SET_BASIC_BLOCK): Eliminate macro. * cfg.c (compact_blocks): Replace uses of SET_BASIC_BLOCK with SET_BASIC_BLOCK_FOR_FN, making use of cfun explicit. (expunge_block): Likewise. * cfgrtl.c (create_basic_block_structure): Likewise. * df-core.c (df_compact_blocks, df_bb_replace): Likewise. * sel-sched.c (create_block_for_bookkeeping): Likewise. * tree-cfg.c (create_bb): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205821 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/basic-block.h | 1 - 1 file changed, 1 deletion(-) (limited to 'gcc/basic-block.h') diff --git a/gcc/basic-block.h b/gcc/basic-block.h index da93c6fbca8..f759e278973 100644 --- a/gcc/basic-block.h +++ b/gcc/basic-block.h @@ -333,7 +333,6 @@ struct GTY(()) control_flow_graph { #define profile_status (cfun->cfg->x_profile_status) #define BASIC_BLOCK(N) ((*basic_block_info)[(N)]) -#define SET_BASIC_BLOCK(N,BB) ((*basic_block_info)[(N)] = (BB)) /* For iterating over basic blocks. */ #define FOR_BB_BETWEEN(BB, FROM, TO, DIR) \ -- cgit v1.2.1