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

2014-03-18 Thread Tom Tromey
>> gcc/ChangeLog.jit | 14 + David> I see the Changelog.jit file listed here... >> gcc/diagnostic.c | 2 +- >> gcc/jit/ChangeLog.jit | 5 + David> ...and here, but I don't see the content below, or within the header of David> the email. Is this available somewhere? S

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

2014-03-18 Thread David Malcolm
On Tue, 2014-03-18 at 08:57 -0600, Tom Tromey wrote: > 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 an

[RFA jit 1/2] introduce class toplev

2014-03-18 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. -