From: Kazu Hirata Date: Sun, 17 Apr 2005 06:34:02 +0000 (+0000) Subject: predict.h (IS_TAKEN): Remove. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=00c00def6f137c92330da75e722d07eaa8a9ef66;p=gcc.git predict.h (IS_TAKEN): Remove. * predict.h (IS_TAKEN): Remove. * rtl.h (NOTE_PREDICTION): Likewise. From-SVN: r98258 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 30f54cf81ab..cac14cadd30 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-04-17 Kazu Hirata + + * predict.h (IS_TAKEN): Remove. + * rtl.h (NOTE_PREDICTION): Likewise. + 2005-04-17 Richard Henderson PR target/20375 diff --git a/gcc/predict.h b/gcc/predict.h index 17c2c948a88..192a3d09f1a 100644 --- a/gcc/predict.h +++ b/gcc/predict.h @@ -36,9 +36,6 @@ enum prediction TAKEN }; -/* Flags for NOTE_PREDICTION */ -#define IS_TAKEN 1 /* Predict edges to the block as taken. */ - extern void predict_insn_def (rtx, enum br_predictor, enum prediction); extern int counts_to_freqs (void); diff --git a/gcc/rtl.h b/gcc/rtl.h index 822e7f724be..bbbc6cac572 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -761,7 +761,6 @@ extern const char * const reg_note_name[]; #define NOTE_EH_HANDLER(INSN) XCINT (INSN, 4, NOTE) #define NOTE_BASIC_BLOCK(INSN) XCBBDEF (INSN, 4, NOTE) #define NOTE_EXPECTED_VALUE(INSN) XCEXP (INSN, 4, NOTE) -#define NOTE_PREDICTION(INSN) XCINT (INSN, 4, NOTE) #define NOTE_VAR_LOCATION(INSN) XCEXP (INSN, 4, NOTE) /* In a NOTE that is a line number, this is the line number.