Re: [RFA jit v2 1/2] introduce class toplev

2014-03-19 Thread Tom Tromey
David> OK. Are you able to push this to my branch, or do you need me to do David> this? Thanks, I was able to push them. Tom

Re: [RFA jit v2 1/2] introduce class toplev

2014-03-19 Thread David Malcolm
On Wed, 2014-03-19 at 12:10 -0600, Tom Tromey wrote: > > "Tom" == Tom Tromey writes: > > Tom> This patch introduces a new "class toplev" and changes toplev_main and > Tom> toplev_finalize to be methods of this class. Additionally, now the > Tom> timevars are automatically stopped when the ob

Re: [RFA jit v2 1/2] introduce class toplev

2014-03-19 Thread Tom Tromey
> "Tom" == Tom Tromey writes: Tom> This patch introduces a new "class toplev" and changes toplev_main and Tom> toplev_finalize to be methods of this class. Additionally, now the Tom> timevars are automatically stopped when the object is destroyed. This Tom> cleans up "compile" a bit and mak

[RFA jit v2 1/2] introduce class toplev

2014-03-19 Thread Tom Tromey
This patch introduces a new "class toplev" and changes toplev_main and toplev_finalize to be methods of this class. Additionally, now the timevars are automatically stopped when the object is destroyed. This cleans up "compile" a bit and makes it simpler to reuse the toplev logic in other code. -