[RFA jit v2 2/2] introduce auto_timevar

2014-03-19 Thread Tom Tromey
This introduces a new auto_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

Re: [RFA jit v2 2/2] introduce auto_timevar

2014-03-19 Thread David Malcolm
On Wed, 2014-03-19 at 11:52 -0600, Tom Tromey wrote: This introduces a new auto_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 |