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
cdd6e2db
Commit
cdd6e2db
authored
Nov 20, 1992
by
Tom Wood
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(expand_inline_function): Mark all notes as integrated.
From-SVN: r2764
parent
89881415
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
3 deletions
+14
-3
gcc/integrate.c
+14
-3
No files found.
gcc/integrate.c
View file @
cdd6e2db
...
...
@@ -1192,7 +1192,12 @@ expand_inline_function (fndecl, parms, target, ignore, type, structure_value_add
expand_start_bindings
(
0
);
if
(
GET_CODE
(
parm_insns
)
==
NOTE
&&
NOTE_LINE_NUMBER
(
parm_insns
)
>
0
)
emit_note
(
NOTE_SOURCE_FILE
(
parm_insns
),
NOTE_LINE_NUMBER
(
parm_insns
));
{
rtx
note
=
emit_note
(
NOTE_SOURCE_FILE
(
parm_insns
),
NOTE_LINE_NUMBER
(
parm_insns
));
if
(
note
)
RTX_INTEGRATED_P
(
note
)
=
1
;
}
/* Expand the function arguments. Do this first so that any
new registers get created before we allocate the maps. */
...
...
@@ -1212,7 +1217,10 @@ expand_inline_function (fndecl, parms, target, ignore, type, structure_value_add
/* Where parameter is located in the function. */
rtx
copy
;
emit_note
(
DECL_SOURCE_FILE
(
formal
),
DECL_SOURCE_LINE
(
formal
));
rtx
note
=
emit_note
(
DECL_SOURCE_FILE
(
formal
),
DECL_SOURCE_LINE
(
formal
));
if
(
note
)
RTX_INTEGRATED_P
(
note
)
=
1
;
arg_trees
[
i
]
=
arg
;
loc
=
RTVEC_ELT
(
arg_vector
,
i
);
...
...
@@ -1398,7 +1406,10 @@ expand_inline_function (fndecl, parms, target, ignore, type, structure_value_add
&&
!
(
GET_CODE
(
XEXP
(
loc
,
0
))
==
REG
&&
REGNO
(
XEXP
(
loc
,
0
))
>
LAST_VIRTUAL_REGISTER
))
{
emit_note
(
DECL_SOURCE_FILE
(
formal
),
DECL_SOURCE_LINE
(
formal
));
rtx
note
=
emit_note
(
DECL_SOURCE_FILE
(
formal
),
DECL_SOURCE_LINE
(
formal
));
if
(
note
)
RTX_INTEGRATED_P
(
note
)
=
1
;
/* Compute the address in the area we reserved and store the
value there. */
...
...
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