summaryrefslogtreecommitdiff
path: root/gcc/vec.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/vec.c')
-rw-r--r--gcc/vec.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/vec.c b/gcc/vec.c
index 3f8f5500303..28ca74f8374 100644
--- a/gcc/vec.c
+++ b/gcc/vec.c
@@ -121,8 +121,8 @@ vec_descriptor (const char *name, int line, const char *function)
/* Account the overhead. */
void
-vec_prefix::register_overhead_PRIVATE_ (size_t size, const char *name, int line,
- const char *function)
+vec_prefix::register_overhead (size_t size, const char *name, int line,
+ const char *function)
{
struct vec_descriptor *loc = vec_descriptor (name, line, function);
struct ptr_hash_entry *p = XNEW (struct ptr_hash_entry);
@@ -148,7 +148,7 @@ vec_prefix::register_overhead_PRIVATE_ (size_t size, const char *name, int line,
/* Notice that the memory allocated for the vector has been freed. */
void
-vec_prefix::release_overhead_PRIVATE_ (void)
+vec_prefix::release_overhead (void)
{
PTR *slot = htab_find_slot_with_hash (ptr_hash, this,
htab_hash_pointer (this),
@@ -165,16 +165,16 @@ vec_prefix::release_overhead_PRIVATE_ (void)
exponentially. PFX is the control data for the vector. */
unsigned
-vec_prefix::calculate_allocation_PRIVATE_ (vec_prefix *pfx, unsigned reserve,
- bool exact)
+vec_prefix::calculate_allocation (vec_prefix *pfx, unsigned reserve,
+ bool exact)
{
unsigned alloc = 0;
unsigned num = 0;
if (pfx)
{
- alloc = pfx->alloc_PRIVATE_;
- num = pfx->num_PRIVATE_;
+ alloc = pfx->alloc_;
+ num = pfx->num_;
}
else if (!reserve)
/* If there's no vector, and we've not requested anything, then we