diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1995-02-23 07:56:39 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1995-02-23 07:56:39 -0500 |
commit | 3578445a3afc08f3522f12a50b9c093c957d1925 (patch) | |
tree | 9461b1f52e3bc22d54787f0ec76ec91f3c78c9c4 | |
parent | bb52566d02853db04f30376a44379d6c3f187ad5 (diff) | |
download | gcc-3578445a3afc08f3522f12a50b9c093c957d1925.zip gcc-3578445a3afc08f3522f12a50b9c093c957d1925.tar.gz gcc-3578445a3afc08f3522f12a50b9c093c957d1925.tar.bz2 |
(gen_stdcall_suffix): Deleted.
From-SVN: r9051
-rw-r--r-- | gcc/config/i386/winnt.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/gcc/config/i386/winnt.c b/gcc/config/i386/winnt.c index fa2cd30..813724c 100644 --- a/gcc/config/i386/winnt.c +++ b/gcc/config/i386/winnt.c @@ -26,34 +26,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "output.h" #include "tree.h" #include "flags.h" -/* Return DECL with the assembler name modified with a suffix consisting - of an atsign (@) followed by the number of bytes of arguments */ - -tree -gen_stdcall_suffix (decl) - tree decl; -{ - int total = 0; - char *asmname = IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl)); - char *newsym; - - if (TYPE_ARG_TYPES (TREE_TYPE (decl))) - if (TREE_VALUE (tree_last (TYPE_ARG_TYPES (TREE_TYPE (decl)))) - == void_type_node) - { - tree formal_type = TYPE_ARG_TYPES (TREE_TYPE (decl)); - - while (TREE_VALUE (formal_type) != void_type_node) - { - total += TREE_INT_CST_LOW (TYPE_SIZE (TREE_VALUE (formal_type))); - formal_type = TREE_CHAIN (formal_type); - } - } - - newsym = xmalloc (strlen (asmname) + 10); - sprintf (newsym, "%s@%d", asmname, total/BITS_PER_UNIT); - return get_identifier (newsym); -} /* This function generates the assembly code for function entry. FILE is an stdio stream to output the code to. |