alloc-pool.h (object_allocator::allocate): Default-initialize object.
2015-11-06 Richard Biener <rguenther@suse.de> * alloc-pool.h (object_allocator::allocate): Default-initialize object. From-SVN: r229851
This commit is contained in:
parent
ff56974436
commit
f1aa4bb328
@ -1,3 +1,8 @@
|
|||||||
|
2015-11-06 Richard Biener <rguenther@suse.de>
|
||||||
|
|
||||||
|
* alloc-pool.h (object_allocator::allocate): Default-initialize
|
||||||
|
object.
|
||||||
|
|
||||||
2015-11-06 Richard Biener <rguenther@suse.de>
|
2015-11-06 Richard Biener <rguenther@suse.de>
|
||||||
|
|
||||||
* tree-ssa-sccvn.c (class sccvn_dom_walker): Add destructor.
|
* tree-ssa-sccvn.c (class sccvn_dom_walker): Add destructor.
|
||||||
|
@ -480,7 +480,7 @@ public:
|
|||||||
inline T *
|
inline T *
|
||||||
allocate () ATTRIBUTE_MALLOC
|
allocate () ATTRIBUTE_MALLOC
|
||||||
{
|
{
|
||||||
return ::new (m_allocator.allocate ()) T ();
|
return ::new (m_allocator.allocate ()) T;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline void
|
inline void
|
||||||
|
Loading…
Reference in New Issue
Block a user