* lto-cgraph.c (lto_varpool_encoder_size): Remove.
* lto-streamer.h (lto_varpool_encoder_size): New inline function.
From-SVN: r160215
+2010-06-03 Jan Hubicka <jh@suse.cz>
+
+ * lto-cgraph.c (lto_varpool_encoder_size): Remove.
+ * lto-streamer.h (lto_varpool_encoder_size): New inline function.
+
2010-06-03 Paul Brook <paul@codesourcery.com>
* config/arm/arm.c (FL_TUNE): Define.
}
-/* 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
};
typedef struct lto_varpool_encoder_d *lto_varpool_encoder_t;
+/* Return number of encoded nodes in ENCODER. */
+
+static inline int
+lto_varpool_encoder_size (lto_varpool_encoder_t encoder)
+{
+ return VEC_length (varpool_node_ptr, encoder->nodes);
+}
+
/* Mapping from indices to trees. */
struct GTY(()) lto_tree_ref_table
{