diff options
Diffstat (limited to 'gcc/cp/semantics.c')
-rw-r--r-- | gcc/cp/semantics.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/cp/semantics.c b/gcc/cp/semantics.c index 505c487..7d9e1da 100644 --- a/gcc/cp/semantics.c +++ b/gcc/cp/semantics.c @@ -35,6 +35,7 @@ #include "ggc.h" #include "rtl.h" #include "output.h" +#include "timevar.h" /* There routines provide a modular interface to perform many parsing operations. They may therefore be used during actual parsing, or @@ -2788,6 +2789,8 @@ expand_body (fn) return; } + timevar_push (TV_EXPAND); + /* Optimize the body of the function before expanding it. */ optimize_function (fn); @@ -2838,4 +2841,6 @@ expand_body (fn) /* And restore the current source position. */ lineno = saved_lineno; input_filename = saved_input_filename; + + timevar_pop (TV_EXPAND); } |