Commit fd371a93 by Gabriel Dos Reis Committed by Gabriel Dos Reis

timevar.def: define TV_NAME_LOOKUP.

        * timevar.def: define TV_NAME_LOOKUP.
        * timevar.c (timevar_pop): Be verbose when aborting.

From-SVN: r61260
parent 58b23af8
2003-01-14 Gabriel Dos Reis <gdr@integrable-solutions.net>
* timevar.def: define TV_NAME_LOOKUP.
* timevar.c (timevar_pop): Be verbose when aborting.
2003-01-13 Andreas Schwab <schwab@suse.de>
* Makefile.in ($(parsedir)/gengtype-lex.c): Don't change to
......
......@@ -319,7 +319,11 @@ timevar_pop (timevar)
return;
if (&timevars[timevar] != stack->timevar)
abort ();
{
sorry ("cannot timevar_pop '%s' when top of timevars stack is '%s'",
timevars[timevar].name, stack->timevar->name);
abort ();
}
/* What time is it? */
get_time (&now);
......
......@@ -51,6 +51,7 @@ DEFTIMEVAR (TV_LIFE_UPDATE , "life info update")
DEFTIMEVAR (TV_CPP , "preprocessing")
DEFTIMEVAR (TV_LEX , "lexical analysis")
DEFTIMEVAR (TV_PARSE , "parser")
DEFTIMEVAR (TV_NAME_LOOKUP , "name lookup")
DEFTIMEVAR (TV_EXPAND , "expand")
DEFTIMEVAR (TV_VARCONST , "varconst")
DEFTIMEVAR (TV_INTEGRATION , "integration")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment