Commit f4770271 by Richard Henderson Committed by Richard Henderson

rtl.def (CONST_VECTOR): Use RTX_CONST_OBJ.

        * rtl.def (CONST_VECTOR): Use RTX_CONST_OBJ.
        * rtl.h (CONSTANT_P): Don't special case CONST_VECTOR.

From-SVN: r93958
parent b4bb3199
2005-01-20 Richard Henderson <rth@redhat.com>
* rtl.def (CONST_VECTOR): Use RTX_CONST_OBJ.
* rtl.h (CONSTANT_P): Don't special case CONST_VECTOR.
2005-01-19 Richard Henderson <rth@redhat.com>
PR target/19350
......
......@@ -315,7 +315,7 @@ DEF_RTL_EXPR(CONST_INT, "const_int", "w", RTX_CONST_OBJ)
DEF_RTL_EXPR(CONST_DOUBLE, "const_double", CONST_DOUBLE_FORMAT, RTX_CONST_OBJ)
/* Describes a vector constant. */
DEF_RTL_EXPR(CONST_VECTOR, "const_vector", "E", RTX_EXTRA)
DEF_RTL_EXPR(CONST_VECTOR, "const_vector", "E", RTX_CONST_OBJ)
/* String constant. Used for attributes in machine descriptions and
for special cases in DWARF2 debug output. NOT used for source-
......
......@@ -382,8 +382,7 @@ struct rtvec_def GTY(()) {
/* 1 if X is a constant value that is an integer. */
#define CONSTANT_P(X) \
(GET_RTX_CLASS (GET_CODE (X)) == RTX_CONST_OBJ \
|| GET_CODE (X) == CONST_VECTOR)
(GET_RTX_CLASS (GET_CODE (X)) == RTX_CONST_OBJ)
/* 1 if X can be used to represent an object. */
#define OBJECT_P(X) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment