diff options
author | Richard Guenther <rguenther@suse.de> | 2012-10-09 13:34:54 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2012-10-09 13:34:54 +0000 |
commit | 58191b2eb730e384f32a15f07c59508366d55076 (patch) | |
tree | 3778368f4f404c7cc2b0fb4d80ee35fcbed07427 /gcc/tree-streamer.c | |
parent | 73367f92ad4316a6a149d40e076f6a2d5cd9a022 (diff) | |
download | gcc-58191b2eb730e384f32a15f07c59508366d55076.zip gcc-58191b2eb730e384f32a15f07c59508366d55076.tar.gz gcc-58191b2eb730e384f32a15f07c59508366d55076.tar.bz2 |
tree-streamer.c (streamer_tree_cache_get): Move ...
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.
From-SVN: r192252
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 f7c1517..1f4fe96 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 |