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
d7e09326
Commit
d7e09326
authored
May 06, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(save_for_inline_copying, expand_inline_function): Copy
CALL_INSN_FUNCTION_USAGE field. From-SVN: r7248
parent
f88b0a82
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
gcc/integrate.c
+12
-2
No files found.
gcc/integrate.c
View file @
d7e09326
...
...
@@ -548,12 +548,17 @@ save_for_inline_copying (fndecl)
break
;
case
INSN
:
case
CALL_INSN
:
case
JUMP_INSN
:
case
CALL_INSN
:
copy
=
rtx_alloc
(
GET_CODE
(
insn
));
if
(
GET_CODE
(
insn
)
==
CALL_INSN
)
CALL_INSN_FUNCTION_USAGE
(
copy
)
=
copy_for_inline
(
CALL_INSN_FUNCTION_USAGE
(
insn
));
PATTERN
(
copy
)
=
copy_for_inline
(
PATTERN
(
insn
));
INSN_CODE
(
copy
)
=
-
1
;
LOG_LINKS
(
copy
)
=
NULL
;
LOG_LINKS
(
copy
)
=
NULL
_RTX
;
RTX_INTEGRATED_P
(
copy
)
=
RTX_INTEGRATED_P
(
insn
);
break
;
...
...
@@ -1758,6 +1763,11 @@ expand_inline_function (fndecl, parms, target, ignore, type, structure_value_add
pattern
=
copy_rtx_and_substitute
(
PATTERN
(
insn
),
map
);
copy
=
emit_call_insn
(
pattern
);
/* Because the USAGE information potentially contains objects other
than hard registers, we need to copy it. */
CALL_INSN_FUNCTION_USAGE
(
copy
)
=
copy_rtx_and_substitute
(
CALL_INSN_FUNCTION_USAGE
(
insn
),
map
);
#ifdef HAVE_cc0
if
(
cc0_insn
)
try_constants
(
cc0_insn
,
map
);
...
...
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