summaryrefslogtreecommitdiffstats
path: root/JavaScriptCore/runtime/InitializeThreading.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'JavaScriptCore/runtime/InitializeThreading.cpp')
-rw-r--r--JavaScriptCore/runtime/InitializeThreading.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/JavaScriptCore/runtime/InitializeThreading.cpp b/JavaScriptCore/runtime/InitializeThreading.cpp
index 2605a9a..51d43ee 100644
--- a/JavaScriptCore/runtime/InitializeThreading.cpp
+++ b/JavaScriptCore/runtime/InitializeThreading.cpp
@@ -36,6 +36,7 @@
#include "UString.h"
#include <wtf/DateMath.h>
#include <wtf/Threading.h>
+#include <wtf/WTFThreadData.h>
using namespace WTF;
@@ -48,6 +49,7 @@ static pthread_once_t initializeThreadingKeyOnce = PTHREAD_ONCE_INIT;
static void initializeThreadingOnce()
{
WTF::initializeThreading();
+ wtfThreadData();
initializeUString();
JSGlobalData::storeVPtrs();
#if ENABLE(JSC_MULTIPLE_THREADS)