2019-11-05 Martin Liska <mliska@suse.cz>
* symbol-summary.h: Use ggc_delete.
From-SVN: r277827
+2019-11-05 Martin Liska <mliska@suse.cz>
+
+ * symbol-summary.h: Use ggc_delete.
+
2019-11-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
* config/aarch64/aarch64.c (thunderx2t99_vector_cost):
void release (T *item)
{
if (is_ggc ())
- {
- item->~T ();
- ggc_free (item);
- }
+ ggc_delete (item);
else
m_allocator.remove (item);
}
void release (T *item)
{
if (is_ggc ())
- {
- item->~T ();
- ggc_free (item);
- }
+ ggc_delete (item);
else
m_allocator.remove (item);
}