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
a1917650
Commit
a1917650
authored
Apr 25, 1996
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(expand_call): In inlining case, if BEFORE_CALLS is zero, start
looking at first insn (one more place). From-SVN: r11888
parent
c388525f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
gcc/calls.c
+5
-4
No files found.
gcc/calls.c
View file @
a1917650
...
...
@@ -739,8 +739,9 @@ expand_call (exp, target, ignore)
if
(
stack_arg_under_construction
||
i
>=
0
)
{
rtx
insn
=
before_call
?
NEXT_INSN
(
before_call
)
:
get_insns
();
rtx
seq
;
rtx
first_insn
=
before_call
?
NEXT_INSN
(
before_call
)
:
get_insns
();
rtx
insn
,
seq
;
/* Look for a call in the inline function code.
If OUTGOING_ARGS_SIZE (DECL_SAVED_INSNS (fndecl)) is
...
...
@@ -748,7 +749,7 @@ expand_call (exp, target, ignore)
to scan the insns. */
if
(
OUTGOING_ARGS_SIZE
(
DECL_SAVED_INSNS
(
fndecl
))
==
0
)
for
(;
insn
;
insn
=
NEXT_INSN
(
insn
))
for
(
insn
=
first_insn
;
insn
;
insn
=
NEXT_INSN
(
insn
))
if
(
GET_CODE
(
insn
)
==
CALL_INSN
)
break
;
...
...
@@ -780,7 +781,7 @@ expand_call (exp, target, ignore)
NULL_RTX
,
BITS_PER_UNIT
);
seq
=
get_insns
();
end_sequence
();
emit_insns_before
(
seq
,
NEXT_INSN
(
before_call
)
);
emit_insns_before
(
seq
,
first_insn
);
emit_stack_restore
(
SAVE_BLOCK
,
old_stack_level
,
NULL_RTX
);
}
}
...
...
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