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
3e2481e9
Commit
3e2481e9
authored
Jun 23, 1992
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r1250
parent
c5791d70
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
gcc/function.c
+8
-3
No files found.
gcc/function.c
View file @
3e2481e9
...
@@ -3697,8 +3697,10 @@ expand_function_start (subr, parms_have_cleanups)
...
@@ -3697,8 +3697,10 @@ expand_function_start (subr, parms_have_cleanups)
/* If function gets a static chain arg, store it in the stack frame.
/* If function gets a static chain arg, store it in the stack frame.
Do this first, so it gets the first stack slot offset. */
Do this first, so it gets the first stack slot offset. */
if
(
current_function_needs_context
)
if
(
current_function_needs_context
)
emit_move_insn
(
assign_stack_local
(
Pmode
,
GET_MODE_SIZE
(
Pmode
),
0
),
{
static_chain_incoming_rtx
);
last_ptr
=
assign_stack_local
(
Pmode
,
GET_MODE_SIZE
(
Pmode
),
0
);
emit_move_insn
(
last_ptr
,
static_chain_incoming_rtx
);
}
/* If the parameters of this function need cleaning up, get a label
/* If the parameters of this function need cleaning up, get a label
for the beginning of the code which executes those cleanups. This must
for the beginning of the code which executes those cleanups. This must
...
@@ -3814,7 +3816,10 @@ expand_function_start (subr, parms_have_cleanups)
...
@@ -3814,7 +3816,10 @@ expand_function_start (subr, parms_have_cleanups)
/* Fetch static chain values for containing functions. */
/* Fetch static chain values for containing functions. */
tem
=
decl_function_context
(
current_function_decl
);
tem
=
decl_function_context
(
current_function_decl
);
if
(
tem
)
/* If not doing stupid register allocation, then start off with the static
chain pointer in a pseudo register. Otherwise, we use the stack
address that was generated above. */
if
(
tem
&&
!
obey_regdecls
)
last_ptr
=
copy_to_reg
(
static_chain_incoming_rtx
);
last_ptr
=
copy_to_reg
(
static_chain_incoming_rtx
);
context_display
=
0
;
context_display
=
0
;
while
(
tem
)
while
(
tem
)
...
...
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