size_t CXX_MEM_STAT_INFO)
ATTRIBUTE_MALLOC;
- static inline
- void *
- ggc_internal_alloc (size_t s CXX_MEM_STAT_INFO)
+inline void *
+ggc_internal_alloc (size_t s CXX_MEM_STAT_INFO)
{
return ggc_internal_alloc (s, NULL, 0, 1 PASS_MEM_STAT);
}
size_t, size_t
CXX_MEM_STAT_INFO) ATTRIBUTE_MALLOC;
-static inline
-void *
+inline void *
ggc_internal_cleared_alloc (size_t s CXX_MEM_STAT_INFO)
{
return ggc_internal_cleared_alloc (s, NULL, 0, 1 PASS_MEM_STAT);
}
template<typename T>
-static inline bool
+inline bool
need_finalization_p ()
{
#if GCC_VERSION >= 4003
}
template<typename T>
-static inline T *
+inline T *
ggc_alloc (ALONE_CXX_MEM_STAT_INFO)
{
if (need_finalization_p<T> ())
}
template<typename T>
-static inline T *
+inline T *
ggc_cleared_alloc (ALONE_CXX_MEM_STAT_INFO)
{
if (need_finalization_p<T> ())
}
template<typename T>
-static inline T *
+inline T *
ggc_vec_alloc (size_t c CXX_MEM_STAT_INFO)
{
if (need_finalization_p<T> ())
}
template<typename T>
-static inline T *
+inline T *
ggc_cleared_vec_alloc (size_t c CXX_MEM_STAT_INFO)
{
if (need_finalization_p<T> ())
0, 0 PASS_MEM_STAT));
}
-static inline void *
+inline void *
ggc_alloc_atomic (size_t s CXX_MEM_STAT_INFO)
{
return ggc_internal_alloc (s PASS_MEM_STAT);
/* Memory statistics passing versions of some allocators. Too few of them to
make gengtype produce them, so just define the needed ones here. */
-static inline struct rtx_def *
+inline struct rtx_def *
ggc_alloc_rtx_def_stat (size_t s CXX_MEM_STAT_INFO)
{
return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT);
}
-static inline union tree_node *
+inline union tree_node *
ggc_alloc_tree_node_stat (size_t s CXX_MEM_STAT_INFO)
{
return (union tree_node *) ggc_internal_alloc (s PASS_MEM_STAT);
}
-static inline union tree_node *
+inline union tree_node *
ggc_alloc_cleared_tree_node_stat (size_t s CXX_MEM_STAT_INFO)
{
return (union tree_node *) ggc_internal_cleared_alloc (s PASS_MEM_STAT);
}
-static inline gimple *
+inline gimple *
ggc_alloc_cleared_gimple_statement_stat (size_t s CXX_MEM_STAT_INFO)
{
return (gimple *) ggc_internal_cleared_alloc (s PASS_MEM_STAT);
}
-static inline void
+inline void
gt_ggc_mx (const char *s)
{
ggc_test_and_set_mark (const_cast<char *> (s));
}
-static inline void
+inline void
gt_pch_nx (const char *)
{
}
-static inline void
+inline void
gt_ggc_mx (int)
{
}
-static inline void
+inline void
gt_pch_nx (int)
{
}
-static inline void
+inline void
gt_pch_nx (unsigned int)
{
}