decl.c (define_label): Use POP_TIMEVAR_AND_RETURN.
authorVolker Reichelt <reichelt@igpm.rwth-aachen.de>
Wed, 22 Dec 2004 02:38:15 +0000 (02:38 +0000)
committerVolker Reichelt <reichelt@gcc.gnu.org>
Wed, 22 Dec 2004 02:38:15 +0000 (02:38 +0000)
* decl.c (define_label): Use POP_TIMEVAR_AND_RETURN.
* name-lookup.c (pushdecl_class_level): Likewise.

From-SVN: r92485

gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/name-lookup.c

index bb5af6d..087fcc6 100644 (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.
index 515bb2c..ed0604c 100644 (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
index c856463..0ee9dfe 100644 (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