+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
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