summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2018-10-25 06:43:56 +0000
committerEric Christopher <echristo@gmail.com>2018-10-25 06:43:56 +0000
commit9ecdb5a711bda1f59080d331c158328031f87220 (patch)
tree6f66355660b488d54f6286638486019fa0eeb93d
parent9bbee38db3b12c47a898e2723b69342355cdfe4f (diff)
downloadbcm5719-llvm-9ecdb5a711bda1f59080d331c158328031f87220.tar.gz
bcm5719-llvm-9ecdb5a711bda1f59080d331c158328031f87220.zip
Revert "Fix use of __libcpp_deallocate in dynarray"
This reverts commit r345234 as it depended on the sized deallocation commit. llvm-svn: 345240
-rw-r--r--libcxx/include/experimental/dynarray2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/experimental/dynarray b/libcxx/include/experimental/dynarray
index 00256c90bc6..a60c87c3f97 100644
--- a/libcxx/include/experimental/dynarray
+++ b/libcxx/include/experimental/dynarray
@@ -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:
OpenPOWER on IntegriCloud