diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-10-09 13:34:54 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-10-09 13:34:54 +0000 |
commit | 23244f0b955c8337ea04a97bb5b7c1733c6b3445 (patch) | |
tree | 3778368f4f404c7cc2b0fb4d80ee35fcbed07427 /gcc/tree-streamer.c | |
parent | 204a2e455d4c6f6db1101c5f8ba0db02e451322e (diff) | |
download | gcc-23244f0b955c8337ea04a97bb5b7c1733c6b3445.tar.gz |
2012-10-09 Richard Guenther <rguenther@suse.de>
* tree-streamer.c (streamer_tree_cache_get): Move ...
* tree-streamer.h (streamer_tree_cache_get): ... here as inline.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192252 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-streamer.c')
-rw-r--r-- | gcc/tree-streamer.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/gcc/tree-streamer.c b/gcc/tree-streamer.c index f7c15178e67..1f4fe96fa03 100644 --- a/gcc/tree-streamer.c +++ b/gcc/tree-streamer.c @@ -232,20 +232,6 @@ streamer_tree_cache_lookup (struct streamer_tree_cache_d *cache, tree t, } -/* Return the tree node at slot IX in CACHE. */ - -tree -streamer_tree_cache_get (struct streamer_tree_cache_d *cache, unsigned ix) -{ - gcc_assert (cache); - - /* Make sure we're not requesting something we don't have. */ - gcc_assert (ix < VEC_length (tree, cache->nodes)); - - return VEC_index (tree, cache->nodes, ix); -} - - /* Record NODE in CACHE. */ static void |