diff options
Diffstat (limited to 'gcc/et-forest.h')
-rw-r--r-- | gcc/et-forest.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/gcc/et-forest.h b/gcc/et-forest.h index 15c582d7ff3..b507c646e33 100644 --- a/gcc/et-forest.h +++ b/gcc/et-forest.h @@ -66,21 +66,6 @@ struct et_node struct et_occ *rightmost_occ; /* The rightmost occurrence. */ struct et_occ *parent_occ; /* The occurrence of the parent node. */ - - /* Pool allocation new operator. */ - inline void *operator new (size_t) - { - return pool.allocate (); - } - - /* Delete operator utilizing pool allocation. */ - inline void operator delete (void *ptr) - { - pool.remove ((et_node *) ptr); - } - - /* Memory allocation pool. */ - static pool_allocator<et_node> pool; }; struct et_node *et_new_tree (void *data); |