(https://bugs.webkit.org/show_bug.cgi?id=135895)
Substitute PerThreadStorage<T>::initSharedKeyIfNeeded() for initSharedKeyIfNeeded() in
implementation of PerThread<T>::getFastCase().
* bmalloc/PerThread.h:
(bmalloc::PerThread<T>::getFastCase):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@172577
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2014-08-13 Daniel Bates <dabates@apple.com>
+
+ Attempt to fix the build following <http://trac.webkit.org/changeset/172576>
+ (https://bugs.webkit.org/show_bug.cgi?id=135895)
+
+ Substitute PerThreadStorage<T>::initSharedKeyIfNeeded() for initSharedKeyIfNeeded() in
+ implementation of PerThread<T>::getFastCase().
+
+ * bmalloc/PerThread.h:
+ (bmalloc::PerThread<T>::getFastCase):
+
2014-08-13 Daniel Bates <dabates@apple.com>
Make bmalloc::PerThread work without C++ thread local storage
INLINE T* PerThread<T>::getFastCase()
{
#if (!defined(__has_include) || !__has_include(<System/pthread_machdep.h>)) && !BCOMPILER_SUPPORTS(CXX_THREAD_LOCAL)
- initSharedKeyIfNeeded(destructor);
+ PerThreadStorage<T>::initSharedKeyIfNeeded(destructor);
#endif
return static_cast<T*>(PerThreadStorage<T>::get());
}