[libcxx] r345240 - Revert "Fix use of __libcpp_deallocate in dynarray"

Eric Christopher echristo at gmail.com
Wed Oct 24 23:43:56 PDT 2018


Author: echristo
Date: Wed Oct 24 23:43:56 2018
New Revision: 345240

URL: http://llvm.org/viewvc/llvm-project?rev=345240&view=rev
Log:
Revert "Fix use of __libcpp_deallocate in dynarray"

This reverts commit r345234 as it depended on the sized deallocation commit.

Modified:
    libcxx/trunk/include/experimental/dynarray

Modified: libcxx/trunk/include/experimental/dynarray
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/experimental/dynarray?rev=345240&r1=345239&r2=345240&view=diff
==============================================================================
--- libcxx/trunk/include/experimental/dynarray (original)
+++ libcxx/trunk/include/experimental/dynarray Wed Oct 24 23:43:56 2018
@@ -146,7 +146,7 @@ private:
 
     static inline _LIBCPP_INLINE_VISIBILITY
     void __deallocate_value(value_type* __ptr ) noexcept {
-        _VSTD::__libcpp_deallocate_unsized(static_cast<void *>(__ptr), __alignof(value_type));
+        _VSTD::__libcpp_deallocate(static_cast<void *>(__ptr), __alignof(value_type));
     }
 
 public:




More information about the libcxx-commits mailing list