call.c (build_op_call): Use timevar_cond_start/stop.
* call.c (build_op_call): Use timevar_cond_start/stop. (build_user_type_conversion): Likewise. From-SVN: r173740
This commit is contained in:
parent
411a20d66c
commit
4877e471e3
|
@ -1,3 +1,8 @@
|
|||
2011-05-13 Jason Merrill <jason@redhat.com>
|
||||
|
||||
* call.c (build_op_call): Use timevar_cond_start/stop.
|
||||
(build_user_type_conversion): Likewise.
|
||||
|
||||
2011-05-12 Jason Merrill <jason@redhat.com>
|
||||
|
||||
* cp-tree.h (DECL_DEFERRED_CONSTEXPR_CHECK): New.
|
||||
|
|
|
@ -3521,7 +3521,7 @@ build_user_type_conversion (tree totype, tree expr, int flags)
|
|||
struct z_candidate *cand;
|
||||
tree ret;
|
||||
|
||||
timevar_start (TV_OVERLOAD);
|
||||
bool subtime = timevar_cond_start (TV_OVERLOAD);
|
||||
cand = build_user_type_conversion_1 (totype, expr, flags);
|
||||
|
||||
if (cand)
|
||||
|
@ -3537,7 +3537,7 @@ build_user_type_conversion (tree totype, tree expr, int flags)
|
|||
else
|
||||
ret = NULL_TREE;
|
||||
|
||||
timevar_stop (TV_OVERLOAD);
|
||||
timevar_cond_stop (TV_OVERLOAD, subtime);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
@ -4029,9 +4029,9 @@ tree
|
|||
build_op_call (tree obj, VEC(tree,gc) **args, tsubst_flags_t complain)
|
||||
{
|
||||
tree ret;
|
||||
timevar_start (TV_OVERLOAD);
|
||||
bool subtime = timevar_cond_start (TV_OVERLOAD);
|
||||
ret = build_op_call_1 (obj, args, complain);
|
||||
timevar_stop (TV_OVERLOAD);
|
||||
timevar_cond_stop (TV_OVERLOAD, subtime);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue