rtl.h (LABEL_REF_P): New #define.

2019-05-28  Michael Meissner  <meissner@linux.ibm.com>

	* rtl.h (LABEL_REF_P): New #define.

From-SVN: r271727
This commit is contained in:
Michael Meissner 2019-05-29 02:10:59 +00:00 committed by William Schmidt
parent 2872594a95
commit 02441f3eec
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2019-05-28 Michael Meissner <meissner@linux.ibm.com>
* rtl.h (LABEL_REF_P): New #define.
2019-05-28 John David Anglin <danglin@gcc.gnu.org>
* config/pa/pa.c (hppa_profile_hook): Remove offset adjustment.

View File

@ -1052,6 +1052,10 @@ is_a_helper <rtx_note *>::test (rtx_insn *insn)
#define CONSTANT_P(X) \
(GET_RTX_CLASS (GET_CODE (X)) == RTX_CONST_OBJ)
/* 1 if X is a LABEL_REF. */
#define LABEL_REF_P(X) \
(GET_CODE (X) == LABEL_REF)
/* 1 if X can be used to represent an object. */
#define OBJECT_P(X) \
((GET_RTX_CLASS (GET_CODE (X)) & RTX_OBJ_MASK) == RTX_OBJ_RESULT)