Commit 9c9a6f42 by Jeff Law

* pa.c (call_operand_address): Do not accept registers anymore.

From-SVN: r4836
parent 6c61ac77
...@@ -58,13 +58,17 @@ reg_or_0_operand (op, mode) ...@@ -58,13 +58,17 @@ reg_or_0_operand (op, mode)
return (op == CONST0_RTX (mode) || register_operand (op, mode)); return (op == CONST0_RTX (mode) || register_operand (op, mode));
} }
/* Return non-zero if OP is suitable for use in a call to a named
function.
(???) For 2.5 try to eliminate either call_operand_address or
function_label_operand, they perform very similar functions. */
int int
call_operand_address (op, mode) call_operand_address (op, mode)
rtx op; rtx op;
enum machine_mode mode; enum machine_mode mode;
{ {
return (REG_P (op) return (CONSTANT_P (op) && ! TARGET_LONG_CALLS);
|| (CONSTANT_P (op) && ! TARGET_LONG_CALLS));
} }
/* Return 1 if X contains a symbolic expression. We know these /* Return 1 if X contains a symbolic expression. We know these
......
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