On 12/3/12, Diego Novillo <dnovi...@google.com> wrote:
> On 2012-12-01 20:46 , Lawrence Crowl wrote:
>> Index: gcc/ChangeLog
>>
>> 2012-11-30  Lawrence Crowl  <cr...@google.com>
>>
>>      * hash-table.h (class hash_table):
>>      Correct many methods with parameter types compare_type to the correct
>>      value_type.  (Correct code was unlikely to notice the change.)
>>      (hash_table::elements_with_deleted) New.
>
> ':' after ')'.

Done.

>> @@ -1024,11 +1035,10 @@ cmp_statistic (const void *loc1, const v
>>
>>   /* Collect array of the descriptors from hashtable.  */
>>   static struct loc_descriptor **loc_array;
>> -static int
>> -add_statistics (void **slot, void *b)
>> +int
>> +ggc_add_statistics (loc_descriptor **slot, int *n)
>
> Why remove 'static'?

It is now a template argument, and cannot be file-local.

> OK otherwise.

Thanks.

-- 
Lawrence Crowl

Reply via email to