diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1994-08-24 17:13:28 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1994-08-24 17:13:28 -0400 |
commit | 6bcf5f0a608196b46fdeaf74e3c6f8b1d35d622e (patch) | |
tree | 08efc1bf7db7d2bf7ec2876af83dfd005fb9fb1d | |
parent | ac030a7b0c7e45a1214731a0fb0a60e3a312167a (diff) | |
download | gcc-6bcf5f0a608196b46fdeaf74e3c6f8b1d35d622e.zip gcc-6bcf5f0a608196b46fdeaf74e3c6f8b1d35d622e.tar.gz gcc-6bcf5f0a608196b46fdeaf74e3c6f8b1d35d622e.tar.bz2 |
(call_operand): New function.
(output_epilog): Don't set SYMBOL_REF_FLAG of current function.
From-SVN: r7966
-rw-r--r-- | gcc/config/alpha/alpha.c | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c index 2054aa1b..ee3b5ec 100644 --- a/gcc/config/alpha/alpha.c +++ b/gcc/config/alpha/alpha.c @@ -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. */ |