aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1996-03-20 14:20:11 -0800
committerJim Wilson <wilson@gcc.gnu.org>1996-03-20 14:20:11 -0800
commit1b2202b86d72ccbeaed4858e0ab7af7d0e2477fe (patch)
tree8c787e78828eaed724e1d5d6831c8a98232f425e
parent304b7a23a0d93aafbd53addd1c51f420467c4f63 (diff)
downloadgcc-1b2202b86d72ccbeaed4858e0ab7af7d0e2477fe.zip
gcc-1b2202b86d72ccbeaed4858e0ab7af7d0e2477fe.tar.gz
gcc-1b2202b86d72ccbeaed4858e0ab7af7d0e2477fe.tar.bz2
(mips_expand_prologue): In initialization of fnargs, delete
special treatment of METHOD_TYPE. From-SVN: r11584
-rw-r--r--gcc/config/mips/mips.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c
index 043c8d7..42640ca 100644
--- a/gcc/config/mips/mips.c
+++ b/gcc/config/mips/mips.c
@@ -4904,9 +4904,7 @@ mips_expand_prologue ()
char *arg_name = (char *)0;
tree fndecl = current_function_decl;
tree fntype = TREE_TYPE (fndecl);
- tree fnargs = (TREE_CODE (fntype) != METHOD_TYPE)
- ? DECL_ARGUMENTS (fndecl)
- : 0;
+ tree fnargs = DECL_ARGUMENTS (fndecl);
rtx next_arg_reg;
int i;
tree next_arg;