[RFA jit 2/2] introduce scoped_timevar
David Malcolm
dmalcolm@redhat.com
Tue Mar 18 21:43:00 GMT 2014
On Tue, 2014-03-18 at 08:57 -0600, Tom Tromey wrote:
> This introduces a new scoped_timevar class. It pushes a given timevar
> in its constructor, and pops it in the destructor, giving a much
> simpler way to use timevars in the typical case where they can be
> scoped.
> ---
> gcc/ChangeLog.jit | 4 ++++
> gcc/jit/ChangeLog.jit | 4 ++++
> gcc/jit/internal-api.c | 16 +++++-----------
> gcc/timevar.h | 24 +++++++++++++++++++++++-
> 4 files changed, 36 insertions(+), 12 deletions(-)
Thanks. Looks good to me, but, like the other patch, are the
ChangeLog.jit entries available somewhere?
More information about the Gcc-patches
mailing list