Commit 5fc4b751 by Kazu Hirata Committed by Kazu Hirata

h8300.c (h8300_adjust_insn_length): Remove redundant code.

	* conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove
	redundant code.

From-SVN: r49307
parent 8907b6e4
2002-01-28 Kazu Hirata <kazu@hxi.com>
* conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove
redundant code.
2002-01-28 John David Anglin <dave@hiauly1.hia.nrc.ca>
* emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM
......
......@@ -3097,21 +3097,19 @@ h8300_adjust_insn_length (insn, length)
rtx insn;
int length ATTRIBUTE_UNUSED;
{
rtx pat;
rtx pat = PATTERN (insn);
/* We must filter these out before calling get_attr_adjust_length. */
if (GET_CODE (PATTERN (insn)) == USE
|| GET_CODE (PATTERN (insn)) == CLOBBER
|| GET_CODE (PATTERN (insn)) == SEQUENCE
|| GET_CODE (PATTERN (insn)) == ADDR_VEC
|| GET_CODE (PATTERN (insn)) == ADDR_DIFF_VEC)
if (GET_CODE (pat) == USE
|| GET_CODE (pat) == CLOBBER
|| GET_CODE (pat) == SEQUENCE
|| GET_CODE (pat) == ADDR_VEC
|| GET_CODE (pat) == ADDR_DIFF_VEC)
return 0;
if (get_attr_adjust_length (insn) == ADJUST_LENGTH_NO)
return 0;
pat = PATTERN (insn);
/* Adjust length for reg->mem and mem->reg copies. */
if (GET_CODE (pat) == SET
&& (GET_CODE (SET_SRC (pat)) == MEM
......
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