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
c452dcde
Commit
c452dcde
authored
Sep 14, 1999
by
Alexandre Oliva
Committed by
Alexandre Oliva
Sep 14, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* rtl.c (obstack_alloc_rtx): Removed.
From-SVN: r29388
parent
9d85d30c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
35 deletions
+4
-35
gcc/ChangeLog
+4
-0
gcc/rtl.c
+0
-35
No files found.
gcc/ChangeLog
View file @
c452dcde
1999
-
09
-
13
Alexandre
Oliva
<
oliva
@lsd
.
ic
.
unicamp
.
br
>
*
rtl
.
c
(
obstack_alloc_rtx
)
:
Removed
.
1999
-
09
-
13
17
:
03
-
0700
Zack
Weinberg
<
zack
@bitmover
.
com
>
*
config
/
gmicro
/
gmicro
.
md
:
Disable
move
DF
->
DI
anonymous
pattern
.
...
...
gcc/rtl.c
View file @
c452dcde
...
...
@@ -335,41 +335,6 @@ rtx_alloc (code)
return
rt
;
}
/* Like the above, but allocate based only on the length. This is called
by the routines built into genrtl.c. */
rtx
obstack_alloc_rtx
(
length
)
int
length
;
{
rtx
rt
;
register
struct
obstack
*
ob
=
rtl_obstack
;
/* This function is called more than any other in GCC,
so we manipulate the obstack directly.
Even though rtx objects are word aligned, we may be sharing an obstack
with tree nodes, which may have to be double-word aligned. So align
our length to the alignment mask in the obstack. */
length
=
(
length
+
ob
->
alignment_mask
)
&
~
ob
->
alignment_mask
;
if
(
ob
->
chunk_limit
-
ob
->
next_free
<
length
)
_obstack_newchunk
(
ob
,
length
);
rt
=
(
rtx
)
ob
->
object_base
;
ob
->
next_free
+=
length
;
ob
->
object_base
=
ob
->
next_free
;
/* We want to clear everything up to the FLD array. Normally,
this is one int, but we don't want to assume that and it
isn't very portable anyway; this is. */
memset
(
rt
,
0
,
sizeof
(
struct
rtx_def
)
-
sizeof
(
rtunion
));
return
rt
;
}
/* Free the rtx X and all RTL allocated since X. */
void
...
...
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