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
461beb10
Commit
461beb10
authored
Mar 18, 1993
by
Doug Evans
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* (assign_parms): Minor cleanup.
From-SVN: r3776
parent
fd328506
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
gcc/function.c
+4
-5
No files found.
gcc/function.c
View file @
461beb10
...
@@ -2919,6 +2919,7 @@ assign_parms (fndecl, second_time)
...
@@ -2919,6 +2919,7 @@ assign_parms (fndecl, second_time)
if
(
MUST_PASS_IN_STACK
(
passed_mode
,
passed_type
))
if
(
MUST_PASS_IN_STACK
(
passed_mode
,
passed_type
))
entry_parm
=
0
;
entry_parm
=
0
;
#ifdef FUNCTION_ARG_PARTIAL_NREGS
/* If this parm was passed part in regs and part in memory,
/* If this parm was passed part in regs and part in memory,
pretend it arrived entirely in memory
pretend it arrived entirely in memory
by pushing the register-part onto the stack.
by pushing the register-part onto the stack.
...
@@ -2929,11 +2930,8 @@ assign_parms (fndecl, second_time)
...
@@ -2929,11 +2930,8 @@ assign_parms (fndecl, second_time)
if
(
entry_parm
)
if
(
entry_parm
)
{
{
int
nregs
=
0
;
int
nregs
=
FUNCTION_ARG_PARTIAL_NREGS
(
args_so_far
,
passed_mode
,
#ifdef FUNCTION_ARG_PARTIAL_NREGS
passed_type
,
!
last_named
);
nregs
=
FUNCTION_ARG_PARTIAL_NREGS
(
args_so_far
,
passed_mode
,
passed_type
,
!
last_named
);
#endif
if
(
nregs
>
0
)
if
(
nregs
>
0
)
{
{
...
@@ -2948,6 +2946,7 @@ assign_parms (fndecl, second_time)
...
@@ -2948,6 +2946,7 @@ assign_parms (fndecl, second_time)
entry_parm
=
stack_parm
;
entry_parm
=
stack_parm
;
}
}
}
}
#endif
/* If we didn't decide this parm came in a register,
/* If we didn't decide this parm came in a register,
by default it came on the stack. */
by default it came on the stack. */
...
...
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