Attempt to fix the build following <http://trac.webkit.org/changeset/172576>
authordbates@webkit.org <dbates@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 14 Aug 2014 05:09:32 +0000 (05:09 +0000)
committerdbates@webkit.org <dbates@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 14 Aug 2014 05:09:32 +0000 (05:09 +0000)
(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

Source/bmalloc/ChangeLog
Source/bmalloc/bmalloc/PerThread.h

index 3bca8ceb3ee421daad3eec0e06879aa29f1003fd..2787852d0e4487573848420c824dcea00ce41d91 100644 (file)
@@ -1,3 +1,14 @@
+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
index 59fd51c39fd3a003790825b4bd4a52345a42fdc5..d0a25163dd0d45b88862e4139827de0db5ebfcf8 100644 (file)
@@ -115,7 +115,7 @@ template<typename T>
 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());
 }