recog.h (alternative_class): New function.
authorRichard Sandiford <rdsandiford@googlemail.com>
Wed, 4 Jun 2014 17:34:03 +0000 (17:34 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Wed, 4 Jun 2014 17:34:03 +0000 (17:34 +0000)
commit5efe5dec7a9db46a8514e6a0e1ef9bacc38cd807
treece044c3ca53f5e72f7cc64bc3e179dc07f77c216
parent29d70a0f6998f34ef7f6fbeff2455dd2d875159f
recog.h (alternative_class): New function.

gcc/
* recog.h (alternative_class): New function.
(which_op_alt): Return a const recog_op_alt.
* reg-stack.c (check_asm_stack_operands): Update type accordingly.
(subst_asm_stack_regs): Likewise.
* config/arm/arm.c (note_invalid_constants): Likewise.
* regcprop.c (copyprop_hardreg_forward_1): Likewise.  Don't modify
the operand_alternative; use alternative class instead.
* sel-sched.c (get_reg_class): Likewise.
* regrename.c (build_def_use): Likewise.
(hide_operands, restore_operands, record_out_operands): Update type
accordingly.

From-SVN: r211238
gcc/ChangeLog
gcc/config/arm/arm.c
gcc/recog.h
gcc/reg-stack.c
gcc/regcprop.c
gcc/regrename.c
gcc/sel-sched.c