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
d080bbfa
Commit
d080bbfa
authored
Aug 02, 1999
by
Mark Mitchell
Committed by
Mark Mitchell
Aug 02, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* splay-tree.h (splay_tree_insert): Return the new node.
From-SVN: r28389
parent
eec9ef57
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
3 deletions
+14
-3
include/ChangeLog
+4
-0
include/splay-tree.h
+2
-1
libiberty/ChangeLog
+4
-0
libiberty/splay-tree.c
+4
-2
No files found.
include/ChangeLog
View file @
d080bbfa
1999-08-01 Mark Mitchell <mark@codesourcery.com>
* splay-tree.h (splay_tree_insert): Return the new node.
1999-07-11 Ian Lance Taylor <ian@zembu.com>
* ansidecl.h: Copy attribute support macros from egcs.
...
...
include/splay-tree.h
View file @
d080bbfa
...
...
@@ -95,7 +95,8 @@ extern splay_tree splay_tree_new PARAMS((splay_tree_compare_fn,
splay_tree_delete_key_fn
,
splay_tree_delete_value_fn
));
extern
void
splay_tree_delete
PARAMS
((
splay_tree
));
extern
void
splay_tree_insert
PARAMS
((
splay_tree
,
extern
splay_tree_node
splay_tree_insert
PARAMS
((
splay_tree
,
splay_tree_key
,
splay_tree_value
));
extern
splay_tree_node
splay_tree_lookup
...
...
libiberty/ChangeLog
View file @
d080bbfa
1999-08-01 Mark Mitchell <mark@codesourcery.com>
* splay-tree.c (splay_tree_insert): Return the new node.
1999-07-14 Richard Henderson <rth@cygnus.com>
* argv.c: Include stdlib.h and string.h instead of
...
...
libiberty/splay-tree.c
View file @
d080bbfa
...
...
@@ -256,9 +256,9 @@ splay_tree_delete (sp)
/* Insert a new node (associating KEY with DATA) into SP. If a
previous node with the indicated KEY exists, its data is replaced
with the new value. */
with the new value.
Returns the new node.
*/
void
splay_tree_node
splay_tree_insert
(
sp
,
key
,
value
)
splay_tree
sp
;
splay_tree_key
key
;
...
...
@@ -305,6 +305,8 @@ splay_tree_insert (sp, key, value)
sp
->
root
=
node
;
}
return
sp
->
root
;
}
/* Lookup KEY in SP, returning VALUE if present, and NULL
...
...
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