Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1086)

Issue 4378056: [patch] Split Parse Timevar (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years ago by Lawrence Crowl
Modified:
11 years, 11 months ago
Reviewers:
richard.guenther, Diego Novillo, jason
CC:
gcc-patches_gcc.gnu.org
Base URL:
svn://gcc.gnu.org/svn/gcc/trunk/
Visibility:
Public.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+230 lines, -199 lines) Patch
M gcc/c-decl.c View 0 chunks +8 lines, -3 lines 0 comments Download
M gcc/c-parser.c View 0 chunks +3 lines, -6 lines 0 comments Download
M gcc/cp/Make-lang.in View 0 chunks +-1 lines, -2 lines 0 comments Download
M gcc/cp/call.c View 0 chunks +0 lines, -3 lines 0 comments Download
M gcc/cp/decl.c View 0 chunks +13 lines, -19 lines 0 comments Download
M gcc/cp/decl2.c View 0 chunks +9 lines, -9 lines 0 comments Download
M gcc/cp/name-lookup.c View 0 chunks +88 lines, -101 lines 0 comments Download
M gcc/cp/parser.c View 0 chunks +15 lines, -14 lines 0 comments Download
M gcc/cp/pt.c View 0 chunks +23 lines, -20 lines 0 comments Download
M gcc/ggc-page.c View 0 chunks +-1 lines, -2 lines 0 comments Download
M gcc/ggc-zone.c View 0 chunks +-1 lines, -3 lines 0 comments Download
M gcc/timevar.h View 0 chunks +1 line, -4 lines 0 comments Download
M gcc/timevar.c View 0 chunks +52 lines, -1 line 0 comments Download
M gcc/timevar.def View 0 chunks +8 lines, -5 lines 0 comments Download
M gcc/toplev.c View 0 chunks +13 lines, -7 lines 0 comments Download

Messages

Total messages: 11
Lawrence Crowl
This patch provides more finer, more precise compile time information. I sent an advisory mail ...
13 years ago (2011-04-12 18:49:27 UTC) #1
Diego Novillo
On Tue, Apr 12, 2011 at 14:49, Lawrence Crowl <crowl@google.com> wrote: > This patch provides ...
13 years ago (2011-04-12 19:06:48 UTC) #2
richard.guenther_gmail.com
On Tue, Apr 12, 2011 at 9:06 PM, Diego Novillo <dnovillo@google.com> wrote: > On Tue, ...
13 years ago (2011-04-13 09:19:08 UTC) #3
Lawrence Crowl
On 4/13/11, Richard Guenther <richard.guenther@gmail.com> wrote: > On Apr 12, 2011 Diego Novillo <dnovillo@google.com> wrote: ...
13 years ago (2011-04-13 20:57:24 UTC) #4
jason_redhat.com
On 04/12/2011 11:49 AM, Lawrence Crowl wrote: > This patch is available for review at ...
13 years ago (2011-04-20 22:00:37 UTC) #5
Diego Novillo
On Wed, Apr 20, 2011 at 18:00, Jason Merrill <jason@redhat.com> wrote: > On 04/12/2011 11:49 ...
13 years ago (2011-04-21 19:58:01 UTC) #6
Lawrence Crowl
On 4/20/11, Jason Merrill <jason@redhat.com> wrote: > On 04/12/2011 11:49 AM, Lawrence Crowl wrote: >> ...
13 years ago (2011-04-21 23:17:30 UTC) #7
jason_redhat.com
On 04/21/2011 07:17 PM, Lawrence Crowl wrote: >>> @@ -1911,7 +1911,7 @@ ggc_collect (void) >>> ...
13 years ago (2011-04-22 00:40:17 UTC) #8
Lawrence Crowl
On 4/21/11, Jason Merrill <jason@redhat.com> wrote: > On 04/21/2011 07:17 PM, Lawrence Crowl wrote: >>>> ...
13 years ago (2011-04-22 22:41:46 UTC) #9
jason_redhat.com
On 04/22/2011 06:41 PM, Lawrence Crowl wrote: > On 4/21/11, Jason Merrill<jason@redhat.com> wrote: >> On ...
13 years ago (2011-04-23 21:32:52 UTC) #10
Lawrence Crowl
13 years ago (2011-04-27 18:44:52 UTC) #11
This discussion continues in the thread
"[patch] Split Parse Timevar (rev 2) (issue4433076)"
which has a new uploaded patch.

On 4/23/11, Jason Merrill <jason@redhat.com> wrote:
> On 04/22/2011 06:41 PM, Lawrence Crowl wrote:
>> On 4/21/11, Jason Merrill<jason@redhat.com>  wrote:
>>> On 04/21/2011 07:17 PM, Lawrence Crowl wrote:
>
>>> That makes sense.  Inlines in the class aren't significantly different
>>> from inlines outside the class, but inlines are significantly different
>>> from non-inlines for our purposes.
>>
>> Do you have a quick hint for how to make that distinction?
>
> Check DECL_DECLARED_INLINE_P after we've parsed the declarator.
>
>>>>>> -DEFTIMEVAR (TV_TEMPLATE_INSTANTIATION, "template instantiation")
>>>>>> +DEFTIMEVAR (TV_INSTANTIATE_TEMPLATE  , "instantiate template")
>>>>>
>>>>> Why these changes?
>>>>
>>>> Just to shorten the names.
>>>
>>> I'd prefer to keep it in the noun form.
>>
>> Okay.  This on in particular was making the output wide.
>
> I wouldn't mind shortening it to TV_TEMPLATE_INST, I just object to the
> change from noun (instantiation) to verb (instantiate).
>
>>> The code is cleaner the way you have it, but not as correct, as there's
>>> some initialization being charged to parsing.
>>
>> Would you prefer moving that initialization out or placing the
>> start/stop into different routines?
>
> I think moving the initialization out would be better.
>
> Jason
>


-- 
Lawrence Crowl
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b