This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Change enable_thread_stack_temporaries to an RAII class
- From: Tom Tromey <tom at tromey dot com>
- To: Simon Marchi <simark at simark dot ca>
- Cc: Tom Tromey <tom at tromey dot com>, gdb-patches at sourceware dot org
- Date: Thu, 08 Mar 2018 21:58:54 -0700
- Subject: Re: [RFA] Change enable_thread_stack_temporaries to an RAII class
- Authentication-results: sourceware.org; auth=none
- References: <20180308053543.18516-1-tom@tromey.com> <8926b4ac-73f3-a7c8-3e7d-cebe3ec4f311@simark.ca>
>> + bool stack_temporaries_enabled;
Simon> I think we can just removed this field, it seems to be unused.
Thanks for noticing this, I've removed it.
Simon> The "if (!tp->stack_temporaries.empty ())" here is now unnecessary.
I made this change as well.
Tom