Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
3578445a
Commit
3578445a
authored
Feb 23, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(gen_stdcall_suffix): Deleted.
From-SVN: r9051
parent
bb52566d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
28 deletions
+0
-28
gcc/config/i386/winnt.c
+0
-28
No files found.
gcc/config/i386/winnt.c
View file @
3578445a
...
@@ -26,34 +26,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
...
@@ -26,34 +26,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "output.h"
#include "output.h"
#include "tree.h"
#include "tree.h"
#include "flags.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.
/* This function generates the assembly code for function entry.
FILE is an stdio stream to output the code to.
FILE is an stdio stream to output the code to.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment