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
ba213285
Commit
ba213285
authored
Oct 01, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(add_insn_{before,after}): Abort if insertion point is a deleted insn.
From-SVN: r8193
parent
640667cb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
gcc/emit-rtl.c
+8
-2
No files found.
gcc/emit-rtl.c
View file @
ba213285
...
...
@@ -2132,7 +2132,7 @@ add_insn (insn)
/* Add INSN into the doubly-linked list after insn AFTER. This and
the next should be the only functions called to insert an insn once
delay slots have been filled since only they know
s
how to update a
delay slots have been filled since only they know how to update a
SEQUENCE. */
void
...
...
@@ -2141,6 +2141,9 @@ add_insn_after (insn, after)
{
rtx
next
=
NEXT_INSN
(
after
);
if
(
INSN_DELETED_P
(
after
))
abort
();
NEXT_INSN
(
insn
)
=
next
;
PREV_INSN
(
insn
)
=
after
;
...
...
@@ -2174,7 +2177,7 @@ add_insn_after (insn, after)
/* Add INSN into the doubly-linked list before insn BEFORE. This and
the previous should be the only functions called to insert an insn once
delay slots have been filled since only they know
s
how to update a
delay slots have been filled since only they know how to update a
SEQUENCE. */
void
...
...
@@ -2183,6 +2186,9 @@ add_insn_before (insn, before)
{
rtx
prev
=
PREV_INSN
(
before
);
if
(
INSN_DELETED_P
(
before
))
abort
();
PREV_INSN
(
insn
)
=
prev
;
NEXT_INSN
(
insn
)
=
before
;
...
...
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