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
04b2d6f5
Commit
04b2d6f5
authored
31 years ago
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(bc_gen_rtx): Call gen_rtx.
(bc_print_rtl): #if 0 the contents. From-SVN: r5482
parent
673bc773
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
0 deletions
+26
-0
gcc/bc-emit.c
+26
-0
No files found.
gcc/bc-emit.c
View file @
04b2d6f5
...
...
@@ -826,13 +826,39 @@ bc_write_file (file)
BC_WRITE_FILE
(
file
);
}
/* Allocate a new bytecode rtx.
If you supply a null BC_LABEL, we generate one. */
rtx
bc_gen_rtx
(
label
,
offset
,
bc_label
)
char
*
label
;
int
offset
;
struct
bc_label
*
bc_label
;
{
rtx
r
;
if
(
bc_label
==
0
)
bc_label
=
(
struct
bc_label
*
)
xmalloc
(
sizeof
(
struct
bc_label
));
r
=
gen_rtx
(
CODE_LABEL
,
VOIDmode
,
label
,
bc_label
);
bc_label
->
offset
=
offset
;
return
r
;
}
/* Print bytecode rtx */
void
bc_print_rtl
(
fp
,
r
)
FILE
*
fp
;
rtx
r
;
{
#if 0 /* This needs to get fixed to really work again. */
/* BC_WRITE_RTL has a definition
that doesn't even make sense for this use. */
BC_WRITE_RTL (r, fp);
#endif
}
...
...
This diff is collapsed.
Click to expand it.
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