diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2014-05-13 10:39:16 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2014-05-13 10:39:16 +0000 |
commit | da3cd1136113a13ae25b7deaf4bc02e250af054c (patch) | |
tree | bc60a87a8aa3c9a5fb0a854d48dfb065714a3899 /gcc/rtl.def | |
parent | fcc74520d0d99921af1d22971465d07225b488f9 (diff) | |
download | gcc-da3cd1136113a13ae25b7deaf4bc02e250af054c.zip gcc-da3cd1136113a13ae25b7deaf4bc02e250af054c.tar.gz gcc-da3cd1136113a13ae25b7deaf4bc02e250af054c.tar.bz2 |
rtl.def (SYMBOL_REF): Remove middle "0" field.
gcc/
* rtl.def (SYMBOL_REF): Remove middle "0" field.
* rtl.h (block_symbol): Reduce number of fields to 2.
(rtx_def): Add u2.symbol_ref_flags.
(SYMBOL_REF_FLAGS): Use it.
(SYMBOL_REF_DATA, SET_SYMBOL_REF_DECL, SYMBOL_REF_DECL)
(SET_SYMBOL_REF_CONSTANT, SYMBOL_REF_CONSTANT): Lower index.
* gengtype.c (adjust_field_rtx_def): Remove SYMBOL_REF_FLAGS handling.
Lower index of SYMBOL_REF_DATA.
* print-rtl.c (print_rtx): Lower index for SYMBOL_REF_DATA.
Print SYMBOL_REF_FLAGS at the same time.
* genattrtab.c (attr_rtx_1): Only initialize 1 "0" SYMBOL_REF field.
From-SVN: r210363
Diffstat (limited to 'gcc/rtl.def')
-rw-r--r-- | gcc/rtl.def | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/rtl.def b/gcc/rtl.def index 18acc6b..d157b17 100644 --- a/gcc/rtl.def +++ b/gcc/rtl.def @@ -429,10 +429,9 @@ DEF_RTL_EXPR(LABEL_REF, "label_ref", "u", RTX_CONST_OBJ) /* Reference to a named label: Operand 0: label name - Operand 1: flags (see SYMBOL_FLAG_* in rtl.h) - Operand 2: tree from which this symbol is derived, or null. + Operand 1: tree from which this symbol is derived, or null. This is either a DECL node, or some kind of constant. */ -DEF_RTL_EXPR(SYMBOL_REF, "symbol_ref", "s00", RTX_CONST_OBJ) +DEF_RTL_EXPR(SYMBOL_REF, "symbol_ref", "s0", RTX_CONST_OBJ) /* The condition code register is represented, in our imagination, as a register holding a value that can be compared to zero. |