Re: [RFA 24/42] Move pending_blocks and pending_block_obstack to buildsym_compunit

Tom Tromey
2018-07-12T05:03:09Z

>>>>> "Tom" == Tom Tromey <tom@tromey.com> writes:

>>>>> "Simon" == Simon Marchi <simark@simark.ca> writes:
Simon> On 2018-05-23 12:58 AM, Tom Tromey wrote:
>>> @@ -344,7 +348,6 @@ find_symbol_in_list (struct pending *list, char *name, int length)
>>>
>>> scoped_free_pendings::scoped_free_pendings ()
>>> {
>>> - gdb_assert (pending_blocks == nullptr);
>>> }

Simon> You can remove the constructor (here and in the .h).

Tom> I made this change.

Actually I had to "= default" the constructor, due to the use of
DISABLE_COPY_AND_ASSIGN.

Tom