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
af493865
Commit
af493865
authored
Dec 12, 1993
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(type_hash_canon): Clean up obstack usage a bit.
From-SVN: r6223
parent
b0e0a0f9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
gcc/tree.c
+3
-5
No files found.
gcc/tree.c
View file @
af493865
...
...
@@ -2822,9 +2822,7 @@ type_hash_canon (hashcode, type)
t1
=
type_hash_lookup
(
hashcode
,
type
);
if
(
t1
!=
0
)
{
struct
obstack
*
o
=
TREE_PERMANENT
(
type
)
?
&
permanent_obstack
:
saveable_obstack
;
obstack_free
(
o
,
type
);
obstack_free
(
TYPE_OBSTACK
(
type
),
type
);
#ifdef GATHER_STATISTICS
tree_node_counts
[(
int
)
t_kind
]
--
;
tree_node_sizes
[(
int
)
t_kind
]
-=
sizeof
(
struct
tree_type
);
...
...
@@ -2832,8 +2830,8 @@ type_hash_canon (hashcode, type)
return
t1
;
}
/* If this is a
new
type, record it for later reuse. */
if
(
current_obstack
==
&
permanent_obstack
)
/* If this is a
permanent
type, record it for later reuse. */
if
(
TREE_PERMANENT
(
type
)
)
type_hash_add
(
hashcode
,
type
);
return
type
;
...
...
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