decl.c (define_label): Use POP_TIMEVAR_AND_RETURN.

* decl.c (define_label): Use POP_TIMEVAR_AND_RETURN.
	* name-lookup.c (pushdecl_class_level): Likewise.

From-SVN: r92485
This commit is contained in:
Volker Reichelt 2004-12-22 02:38:15 +00:00 committed by Volker Reichelt
parent a90f8ad5fb
commit be99edf883
3 changed files with 7 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2004-12-22 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
* decl.c (define_label): Use POP_TIMEVAR_AND_RETURN.
* name-lookup.c (pushdecl_class_level): Likewise.
2004-12-21 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
* name-lookup.c (pushtag): Add missing POP_TIMEVAR_AND_RETURN.

View File

@ -2431,8 +2431,7 @@ define_label (location_t location, tree name)
check_previous_gotos (decl);
}
timevar_pop (TV_NAME_LOOKUP);
return decl;
POP_TIMEVAR_AND_RETURN (TV_NAME_LOOKUP, decl);
}
struct cp_switch

View File

@ -2480,9 +2480,7 @@ pushdecl_class_level (tree x)
input_location = save_location;
}
}
timevar_pop (TV_NAME_LOOKUP);
return is_valid;
POP_TIMEVAR_AND_RETURN (TV_NAME_LOOKUP, is_valid);
}
/* Return the BINDING (if any) for NAME in SCOPE, which is a class