Index: Source/wtf/ThreadingPthreads.cpp |
diff --git a/Source/wtf/ThreadingPthreads.cpp b/Source/wtf/ThreadingPthreads.cpp |
index fa7b706b942c52887df7ecd97894a6b780ec9ad2..21adbda1153c37e3a0d0c9a11b6bad9fe3190334 100644 |
--- a/Source/wtf/ThreadingPthreads.cpp |
+++ b/Source/wtf/ThreadingPthreads.cpp |
@@ -110,26 +110,11 @@ static Mutex& threadMapMutex() |
return mutex; |
} |
-#if OS(QNX) && CPU(ARM_THUMB2) |
-static void enableIEEE754Denormal() |
-{ |
- // Clear the ARM_VFP_FPSCR_FZ flag in FPSCR. |
- unsigned fpscr; |
- asm volatile("vmrs %0, fpscr" : "=r"(fpscr)); |
- fpscr &= ~0x01000000u; |
- asm volatile("vmsr fpscr, %0" : : "r"(fpscr)); |
-} |
-#endif |
- |
void initializeThreading() |
{ |
if (atomicallyInitializedStaticMutex) |
return; |
-#if OS(QNX) && CPU(ARM_THUMB2) |
- enableIEEE754Denormal(); |
-#endif |
- |
WTF::double_conversion::initialize(); |
// StringImpl::empty() does not construct its static string in a threadsafe fashion, |
// so ensure it has been initialized from here. |
@@ -216,8 +201,6 @@ void initializeCurrentThreadInternal(const char* threadName) |
{ |
#if HAVE(PTHREAD_SETNAME_NP) |
pthread_setname_np(threadName); |
-#elif OS(QNX) |
- pthread_setname_np(pthread_self(), threadName); |
#else |
UNUSED_PARAM(threadName); |
#endif |
@@ -228,10 +211,6 @@ void initializeCurrentThreadInternal(const char* threadName) |
objc_registerThreadWithCollector(); |
#endif |
-#if OS(QNX) && CPU(ARM_THUMB2) |
- enableIEEE754Denormal(); |
-#endif |
- |
ThreadIdentifier id = identifierByPthreadHandle(pthread_self()); |
ASSERT(id); |
ThreadIdentifierData::initialize(id); |