From f26d858051109d44d39ec8f00137045e9058f173 Mon Sep 17 00:00:00 2001 From: dmalcolm Date: Mon, 9 Dec 2013 20:38:21 +0000 Subject: Eliminate profile_status macro. gcc/ * basic-block.h (profile_status): Eliminate macro. * cfgbuild.c (find_many_sub_basic_blocks): Eliminate use of profile_status macro in favor of profile_status_for_fn, making use of cfun explicit. * cfghooks.c (account_profile_record): Likewise. * cfgloopanal.c (single_likely_exit): * cfgrtl.c (rtl_verify_edges, rtl_account_profile_record): Likewise. * graphite.c (graphite_finalize): * internal-fn.c (ubsan_expand_si_overflow_addsub_check, ubsan_expand_si_overflow_neg_check, ubsan_expand_si_overflow_mul_check): Likewise. * ipa-split.c (consider_split, execute_split_functions): * loop-unroll.c (decide_peel_simple): * optabs.c (emit_cmp_and_jump_insn_1): * predict.c (maybe_hot_edge_p, probably_never_executed, predictable_edge_p, probability_reliable_p, gimple_predict_edge, tree_estimate_probability_driver, estimate_bb_frequencies, compute_function_frequency, rebuild_frequencies): Likewise. * profile.c (compute_branch_probabilities): Likewise. * tree-cfg.c (gimple_account_profile_record): Likewise. * tree-inline.c (optimize_inline_calls): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205825 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 4ab82890500..d000a432522 100644 --- a/gcc/basic-block.h +++ b/gcc/basic-block.h @@ -328,7 +328,6 @@ struct GTY(()) control_flow_graph { /* Defines for textual backward source compatibility. */ #define last_basic_block (cfun->cfg->x_last_basic_block) -#define profile_status (cfun->cfg->x_profile_status) /* For iterating over basic blocks. */ #define FOR_BB_BETWEEN(BB, FROM, TO, DIR) \ -- cgit v1.2.1