aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.6/gcc/cp/name-lookup.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.6/gcc/cp/name-lookup.c')
-rw-r--r--gcc-4.6/gcc/cp/name-lookup.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc-4.6/gcc/cp/name-lookup.c b/gcc-4.6/gcc/cp/name-lookup.c
index 8753f14..85caafe 100644
--- a/gcc-4.6/gcc/cp/name-lookup.c
+++ b/gcc-4.6/gcc/cp/name-lookup.c
@@ -5441,9 +5441,10 @@ lookup_arg_dependent (tree name, tree fns, VEC(tree,gc) *args,
bool include_std)
{
tree ret;
- timevar_start (TV_NAME_LOOKUP);
+ bool subtime;
+ subtime = timevar_cond_start (TV_NAME_LOOKUP);
ret = lookup_arg_dependent_1 (name, fns, args, include_std);
- timevar_stop (TV_NAME_LOOKUP);
+ timevar_cond_stop (TV_NAME_LOOKUP, subtime);
return ret;
}