2011/9/17 Dodji Seketeli :
> OK, so the patch below extracts a public ggc_alloced_size_for_request
> function from the different implementations of the ggc allocator's
> interface, and lets new_linemap use that.
> libcpp/
>
> * include/line-map.h (struct line_maps::alloced_size_for_request):
Jason Merrill writes:
> On 09/17/2011 07:08 AM, Dodji Seketeli wrote:
>> OK, so the patch below extracts a public ggc_alloced_size_for_request
>> function from the different implementations of the ggc allocator's
>> interface, and lets new_linemap use that.
>
> Maybe "ggc_round_alloc_size"?
OK,
On 09/17/2011 07:08 AM, Dodji Seketeli wrote:
OK, so the patch below extracts a public ggc_alloced_size_for_request
function from the different implementations of the ggc allocator's
interface, and lets new_linemap use that.
Maybe "ggc_round_alloc_size"? OK with that change if nobody else has
Jason Merrill writes:
> On 07/16/2011 10:37 AM, Dodji Seketeli wrote:
> > Ideally, I'd prefer some parts of this patch to be integrated into the
> > memory allocator. That is, I'd like to see the memory allocator have
> > an interface that returns the actual size of memory it has allocated.
> >
On 07/16/2011 10:37 AM, Dodji Seketeli wrote:
Ideally, I'd prefer some parts of this patch to be integrated into the
memory allocator. That is, I'd like to see the memory allocator have
an interface that returns the actual size of memory it has allocated.
This would help client code like this on