diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1995-02-21 18:21:14 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1995-02-21 18:21:14 -0500 |
commit | 8b109b37fc08e64e252ab7d3031283c94a638291 (patch) | |
tree | 804db72713ffd33458515ca2cde99ed7e257f631 /gcc/config/ns32k/ns32k.h | |
parent | 330e1b6be9df24eacd076ba149feba48e8bdeecc (diff) | |
download | gcc-8b109b37fc08e64e252ab7d3031283c94a638291.zip gcc-8b109b37fc08e64e252ab7d3031283c94a638291.tar.gz gcc-8b109b37fc08e64e252ab7d3031283c94a638291.tar.bz2 |
Added arg to RETURN_POPS_ARGS.
From-SVN: r8999
Diffstat (limited to 'gcc/config/ns32k/ns32k.h')
-rw-r--r-- | gcc/config/ns32k/ns32k.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/config/ns32k/ns32k.h b/gcc/config/ns32k/ns32k.h index fe80c72..ccf7227 100644 --- a/gcc/config/ns32k/ns32k.h +++ b/gcc/config/ns32k/ns32k.h @@ -1,5 +1,5 @@ /* Definitions of target machine for GNU compiler. NS32000 version. - Copyright (C) 1988, 1993, 1994 Free Software Foundation, Inc. + Copyright (C) 1988, 1993, 1994, 1995 Free Software Foundation, Inc. Contributed by Michael Tiemann (tiemann@cygnus.com) This file is part of GNU CC. @@ -390,6 +390,7 @@ enum reg_class { NO_REGS, GENERAL_REGS, FLOAT_REGS, GEN_AND_FP_REGS, /* Value is the number of byte of arguments automatically popped when returning from a subroutine call. + FUNDECL is the declaration node of the function (as a tree), FUNTYPE is the data type of the function (as a tree), or for a library call it is an identifier node for the subroutine name. SIZE is the number of bytes of arguments passed on the stack. @@ -402,7 +403,7 @@ enum reg_class { NO_REGS, GENERAL_REGS, FLOAT_REGS, GEN_AND_FP_REGS, standard Unix calling sequences. If the option is not selected, the caller must always pop the args. */ -#define RETURN_POPS_ARGS(FUNTYPE,SIZE) \ +#define RETURN_POPS_ARGS(FUNDECL,FUNTYPE,SIZE) \ ((TARGET_RTD && TREE_CODE (FUNTYPE) != IDENTIFIER_NODE \ && (TYPE_ARG_TYPES (FUNTYPE) == 0 \ || (TREE_VALUE (tree_last (TYPE_ARG_TYPES (FUNTYPE))) \ |