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
f15ae3a1
Commit
f15ae3a1
authored
Mar 23, 1993
by
Tom Wood
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(push_topmost_sequence, pop_topmost_sequence): New
functions. From-SVN: r3841
parent
a93821e9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
0 deletions
+34
-0
gcc/emit-rtl.c
+34
-0
No files found.
gcc/emit-rtl.c
View file @
f15ae3a1
...
@@ -2614,6 +2614,40 @@ push_to_sequence (first)
...
@@ -2614,6 +2614,40 @@ push_to_sequence (first)
last_insn
=
last
;
last_insn
=
last
;
}
}
/* Set up the outer-level insn chain
as the current sequence, saving the previously current one. */
void
push_topmost_sequence
()
{
struct
sequence_stack
*
stack
,
*
top
;
start_sequence
();
for
(
stack
=
sequence_stack
;
stack
;
stack
=
stack
->
next
)
top
=
stack
;
first_insn
=
top
->
first
;
last_insn
=
top
->
last
;
}
/* After emitting to the outer-level insn chain, update the outer-level
insn chain, and restore the previous saved state. */
void
pop_topmost_sequence
()
{
struct
sequence_stack
*
stack
,
*
top
;
for
(
stack
=
sequence_stack
;
stack
;
stack
=
stack
->
next
)
top
=
stack
;
top
->
first
=
first_insn
;
top
->
last
=
last_insn
;
end_sequence
();
}
/* After emitting to a sequence, restore previous saved state.
/* After emitting to a sequence, restore previous saved state.
To get the contents of the sequence just made,
To get the contents of the sequence just made,
...
...
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