(call_operand): New function.

(output_epilog): Don't set SYMBOL_REF_FLAG of current function.

From-SVN: r7966
This commit is contained in:
Richard Kenner 1994-08-24 17:13:28 -04:00
parent ac030a7b0c
commit 6bcf5f0a60

View File

@ -333,6 +333,20 @@ current_file_function_operand (op, mode)
|| op == XEXP (DECL_RTL (current_function_decl), 0)));
}
/* Return 1 if OP is a valid operand for the MEM of a CALL insn. */
int
call_operand (op, mode)
rtx op;
enum machine_mode mode;
{
if (mode != Pmode)
return 0;
return (GET_CODE (op) == SYMBOL_REF
|| (GET_CODE (op) == REG && REGNO (op) == 27));
}
/* Return 1 if OP is a valid Alpha comparison operator. Here we know which
comparisons are valid in which insn. */
@ -1521,9 +1535,6 @@ output_epilog (file, size)
assemble_name (file, alpha_function_name);
fprintf (file, "\n");
inside_function = FALSE;
/* Show that we know this function if it is called again. */
SYMBOL_REF_FLAG (XEXP (DECL_RTL (current_function_decl), 0)) = 1;
}
/* Debugging support. */