This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Measure overload resolution overhead
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Pariborz Jahanian <fjahanian at apple dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 31 Jan 2003 00:37:06 +0100
- Subject: Re: PATCH: Measure overload resolution overhead
- Organization: Integrable Solutions
- References: <91C14552-34A7-11D7-965E-000393B9ED88@apple.com>
Pariborz Jahanian <fjahanian@apple.com> writes:
| 2003-01-30 Fariborz Jahanian <fjahanian@apple.com>
|
| * timevar.def: TV_OV_RESOLUTION added
This patch:
2003-01-26 Gabriel Dos Reis <gdr@soliton.integrable-solutions.net>
* timevar.def (TV_OVERLOAD, TV_TEMPLATE_INSTANTIATION): New
timevar_id enumerations.
does that.
I believe I also added the macro POP_TIMEVAR_AND_RETURN() to be used
in cases where
if (condition)
return exp;
is replaced with
if (condition)
POP_TIMEVAR_AND_RETURN (TV_OVERLOAD, exp);
Even more,
if (condition)
return;
may be replaced with
if (condition)
POP_TIMEVAR_AND_RETURN (TV_OVERLOAD, (void)0);
-- Gaby