if (GET_CODE (operands[0]) != MEM)
abort ();
- if (! call_operand (XEXP (operands[0], 0), SImode))
+ /* We tell here whether this is a recursive call, since this insn may
+ later be inlined into another function. */
+ if (! TARGET_SMALL_MEMORY
+ && GET_CODE (XEXP (operands[0], 0)) == SYMBOL_REF)
operands[0] = gen_rtx (MEM, SImode,
force_reg (Pmode, XEXP (operands[0], 0)));
if (GET_CODE (operands[1]) != MEM)
abort ();
- if (! call_operand (XEXP (operands[1], 0), SImode))
+ /* We tell here whether this is a recursive call, since this insn may
+ later be inlined into another function. */
+ if (! TARGET_SMALL_MEMORY
+ && GET_CODE (XEXP (operands[1], 0)) == SYMBOL_REF)
operands[1] = gen_rtx (MEM, SImode,
force_reg (Pmode, XEXP (operands[1], 0)));