buildsym_compunit::free_pending is only called from a single spot in
buildsym.c, so let's inline it and remove the method.
Approved-By: Simon Marchi <simon.marchi@efficios.com>
for (next = m_pending_blocks; next; next = next->next)
blockvector->set_block (--i, next->block);
- free_pending_blocks ();
+ /* Finished with the pending blocks now. */
+ m_pending_block_obstack.clear ();
+ m_pending_blocks = nullptr;
/* If we needed an address map for this symtab, record it in the
blockvector. */
struct macro_table *get_macro_table ();
- /* This function is called to discard any pending blocks. */
-
- void free_pending_blocks ()
- {
- m_pending_block_obstack.clear ();
- m_pending_blocks = nullptr;
- }
-
struct block *finish_block (struct symbol *symbol,
struct pending_block *old_blocks,
const struct dynamic_prop *static_link,