aboutsummaryrefslogtreecommitdiff
path: root/gcc/lto-cgraph.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2010-06-03 12:00:03 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2010-06-03 10:00:03 +0000
commit703e95cf1554ad654c4dda356b666bd13048a0d6 (patch)
treeb5754d2b97c2dee9e6c0717a678b8ad2484a3b4c /gcc/lto-cgraph.c
parent1267bc69eb2af3ec45e886f6538b594992ff6d36 (diff)
downloadgcc-703e95cf1554ad654c4dda356b666bd13048a0d6.zip
gcc-703e95cf1554ad654c4dda356b666bd13048a0d6.tar.gz
gcc-703e95cf1554ad654c4dda356b666bd13048a0d6.tar.bz2
lto-cgraph.c (lto_varpool_encoder_size): Remove.
* lto-cgraph.c (lto_varpool_encoder_size): Remove. * lto-streamer.h (lto_varpool_encoder_size): New inline function. From-SVN: r160215
Diffstat (limited to 'gcc/lto-cgraph.c')
-rw-r--r--gcc/lto-cgraph.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/lto-cgraph.c b/gcc/lto-cgraph.c
index 67a847e..bb912ceb 100644
--- a/gcc/lto-cgraph.c
+++ b/gcc/lto-cgraph.c
@@ -234,14 +234,6 @@ lto_varpool_encoder_deref (lto_varpool_encoder_t encoder, int ref)
}
-/* Return number of encoded nodes in ENCODER. */
-
-static int
-lto_varpool_encoder_size (lto_varpool_encoder_t encoder)
-{
- return VEC_length (varpool_node_ptr, encoder->nodes);
-}
-
/* Return TRUE if we should encode initializer of NODE (if any). */
bool